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

local Window = Rayfield:CreateWindow({
   Name = "🔥Villainhub🔫",
   LoadingTitle = "🔫villainhub script 💥",
   LoadingSubtitle = "by villain",
   ConfigurationSaving = {
      Enabled = false,
      FolderName = nil,
      FileName = "Example Hub"
   },
   Discord = {
      Enabled = false,
      Invite = "https://[Log in to view URL]",
      RememberJoins = true
   },
   KeySystem = true,
   KeySettings = {
      Title = "villainhub key",
      Subtitle = "Key System",
      Note = "Key In Discord Server",
      FileName = "villainHubKey1",
      SaveKey = false,
      GrabKeyFromSite = true,
      Key = {"https://[Log in to view URL]"}
   }
})

-- Main Tab
local MainTab = Window:CreateTab("🏠 Home", nil)
local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
   Title = "You executed the script",
   Content = "Very cool gui",
   Duration = 5,
   Image = 13047715178,
   Actions = {
      Ignore = {
         Name = "Okay!",
         Callback = function()
            print("The user tapped Okay!")
         end
      end,
   },
})

-- Infinite Jump
local Button = MainTab:CreateButton({
   Name = "Infinite Jump Toggle",
   Callback = function()
       _G.infinjump = not _G.infinjump

       if _G.infinJumpStarted == nil then
           _G.infinJumpStarted = true
           game.StarterGui:SetCore("SendNotification", {Title="Youtube Hub"; Text="Infinite Jump Activated!"; Duration=5;})
           local plr = game:GetService('Players').LocalPlayer
           local m = plr:GetMouse()
           m.KeyDown:connect(function(k)
               if _G.infinjump and k:byte() == 32 then
                   local humanoid = plr.Character:FindFirstChildOfClass('Humanoid')
                   if humanoid then
                       humanoid:ChangeState('Jumping')
                       wait()
                       humanoid:ChangeState('Seated')
                   end
               end
           end)
       end
   end,
})

-- WalkSpeed Slider
MainTab:CreateSlider({
   Name = "WalkSpeed Slider",
   Range = {1, 350},
   Increment = 1,
   Suffix = "Speed",
   CurrentValue = 16,
   Flag = "sliderws",
   Callback = function(Value)
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
   end,
})

-- JumpPower Slider
MainTab:CreateSlider({
   Name = "JumpPower Slider",
   Range = {1, 350},
   Increment = 1,
   Suffix = "Speed",
   CurrentValue = 16,
   Flag = "sliderjp",
   Callback = function(Value)
        game.Players.LocalPlayer.Character.Humanoid.JumpPower = Value
   end,
})

-- Select Area Dropdown
MainTab:CreateDropdown({
   Name = "Select Area",
   Options = {"Starter World","Pirate Island","Pineapple Paradise"},
   CurrentOption = {"Starter World"},
   MultipleOptions = false,
   Flag = "dropdownarea",
   Callback = function(Option)
        print(Option)
   end,
})

-- Walkspeed Input
MainTab:CreateInput({
   Name = "Walkspeed",
   PlaceholderText = "1-500",
   RemoveTextAfterFocusLost = true,
   Callback = function(Text)
        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(Text)
   end,
})

-- Other Section
local OtherSection = MainTab:CreateSection("Other")

-- Aimbot Toggle
MainTab:CreateToggle({
   Name = "aimbot",
   CurrentValue = false,
   Flag = "Toggle1",
   Callback = function(Value)
        print("AIMBOT")
   end,
})

-- Teleports Tab
local TPTab = Window:CreateTab("🏝 Teleports", nil)

-- 🔹 Luarmor Game Teleports
local LuarmorTeleports = {
    ["Tha Bronx 3"] = 16472538603,
    ["Tha Bronx 3 Alt"] = 18642421777,
    ["South Bronx"] = 13643807539,
    ["South Bronx Alt"] = 14413475235
}

local TeleportService = game:GetService("TeleportService")

for name, placeId in pairs(LuarmorTeleports) do
    TPTab:CreateButton({
        Name = name,
        Callback = function()
            TeleportService:Teleport(placeId, game.Players.LocalPlayer)
        end
    })
end

-- Misc Tab
local MiscTab = Window:CreateTab("🎲 Misc", nil)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local localPlayer = Players.LocalPlayer

-- Autofarm Toggle
MiscTab:CreateToggle({
    Name = "Autofarm",
    CurrentValue = false,
    Flag = "Toggle1",
    Callback = function(Value)
        print('Autofarm toggled:', Value)
    end,
})

-- Noclip Toggle
local noclip = false
MiscTab:CreateToggle({
    Name = "Noclip",
    CurrentValue = false,
    Flag = "noclipToggle",
    Callback = function(Value)
        noclip = Value
    end,
})

-- Noclip logic
RunService.Stepped:Connect(function()
    local char = localPlayer.Character
    if char then
        for _, part in pairs(char:GetChildren()) do
            if part:IsA("BasePart") then
                part.CanCollide = not noclip
            end
        end
    end
end)

localPlayer.CharacterAdded:Connect(function(char)
    wait(0.1)
    for _, part in pairs(char:GetChildren()) do
        if part:IsA("BasePart") then
            part.CanCollide = not noclip
        end
    end
end)

-- ESP Toggle
local espEnabled = false
local highlights = {}

MiscTab:CreateToggle({
    Name = "ESP",
    CurrentValue = false,
    Flag = "ESPtoggle",
    Callback = function(Value)
        espEnabled = Value
        if not espEnabled then
            for _, hl in pairs(highlights) do
                if hl and hl.Parent then
                    hl:Destroy()
                end
            end
            highlights = {}
        else
            for _, player in pairs(Players:GetPlayers()) do
                local char = player.Character
                if char and not highlights[char] then
                    local hl = Instance.new("Highlight")
                    hl.FillColor = Color3.fromRGB(0, 255, 0)
                    hl.OutlineColor = Color3.fromRGB(255, 255, 255)
                    hl.Parent = char
                    highlights[char] = hl
                end
            end
        end
    end,
})

-- Keep ESP updated for new players
Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(char)
        if espEnabled then
            local hl = Instance.new("Highlight")
            hl.FillColor = Color3.fromRGB(0, 255, 0)
            hl.OutlineColor = Color3.fromRGB(255, 255, 255)
            hl.Parent = char
            highlights[char] = hl
        end
    end)
end)

Embed on website

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