getgenv().SecureMode = true
local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({
   Name = "[💥RELEASE] Anime Fighting Simulator X",
   LoadingTitle = "🌑 Kyirht Hub 🌑",
   LoadingSubtitle = "by mit.z",
   ConfigurationSaving = {
      Enabled = false,
      FolderName = nil, -- Create a custom folder for your hub/game
      FileName = "Kyirht Hub"
   },
   Discord = {
      Enabled = false,
      Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
      RememberJoins = true -- Set this to false to make them join the discord every time they load it up
   },
   KeySystem = false, -- Set this to true to use our key system
   KeySettings = {
      Title = "Oiii novinha",
      Subtitle = "key secreta novinha",
      Note = "paia ne mano",
      FileName = "eudecidonovinha", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
      SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
      GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
      Key = {"oinovinha"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
   }
})

local MainTab = Window:CreateTab("Main", nil) -- Title, Image
local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
   Title = "Que isso novinha executa assim não",
   Content = "Desse jeito eu fico todo tímido 😳😳",
   Duration = 5,
   Image = nil,
   Actions = { -- Notification Buttons
      Ignore = {
         Name = "😳😳😳",
         Callback = function()
         print("Coradin")
      end
   },
},
})

-- Library Toggle:
local Toggle = MainTab:CreateToggle({
   Name = "Auto Weapon",
   CurrentValue = false,
   Flag = "Toggle1",
   Callback = function(Value)
       _G.AutoWeapon = Value

       while _G.AutoWeapon do
           local VirtualInputManager = game:GetService('VirtualInputManager')
           local character = game.Players.LocalPlayer.Character
           local humanoid = character and character:FindFirstChild("Humanoid")

           if game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died then
               wait(2)
               if humanoid and humanoid.Health <= 0 then
                   wait(7)
                   VirtualInputManager:SendKeyEvent(true, "Four", false, game)
                   wait()
                   VirtualInputManager:SendKeyEvent(false, "Four", false, game)
               end
           end
       end
   end,
})

-- Library Toggle:
local Toggle = MainTab:CreateToggle({
   Name = "Auto Haki (P)",
   CurrentValue = false,
   Flag = "Toggle1",
   Callback = function(Value)
       _G.AutoWeapon = Value

       while _G.AutoWeapon do
           local VirtualInputManager = game:GetService('VirtualInputManager')
           local character = game.Players.LocalPlayer.Character
           local humanoid = character and character:FindFirstChild("Humanoid")

           if game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died then
               wait(2)
               if humanoid and humanoid.Health <= 0 then
                   wait(7)
                   VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.P, false, game)
                   wait()
                   VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.P, false, game)
               end
           end
       end
   end,
})

local Toggle = MainTab:CreateToggle({
    Name = "Auto Skill",
    CurrentValue = false,
    Flag = "Toggle1",
    Callback = function(Value)
        local vim = game:GetService('VirtualInputManager')

        local keysToPress = {
            Enum.KeyCode.F,
            Enum.KeyCode.Z,
            Enum.KeyCode.X,
            Enum.KeyCode.C,
            Enum.KeyCode.R,
            Enum.KeyCode.U,
            Enum.KeyCode.T,
            Enum.KeyCode.G,
            Enum.KeyCode.B
        }

        local isActive = false
        local stopAutoSkill = false

        local function sendEvents()
            while true do
                if isActive then
                    for _, keyCode in ipairs(keysToPress) do
                        vim:SendKeyEvent(true, keyCode, false, game)
                        wait(0.1)
                        vim:SendKeyEvent(false, keyCode, false, game)
                        wait(0.1)
                    end
                end
                wait(1)
                if stopAutoSkill then
                    break
                end
            end
        end

        if Value then
            print("Auto Skill ativado!")
            isActive = true
            stopAutoSkill = false
            spawn(sendEvents)
        else
            print("Auto Skill desativado!")
            isActive = false
            stopAutoSkill = true
        end
    end,
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: