local ScreenGui = Instance.new("ScreenGui", game.Players.LocalPlayer:WaitForChild("PlayerGui"))
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 300, 0, 350)
Frame.Position = UDim2.new(0.1, 0, 0.2, 0)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
local Title = Instance.new("TextLabel", Frame)
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Text = "🔥 VillainHub 🔫"
Title.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
--// BUTTON: Infinite Jump
local InfJumpBtn = Instance.new("TextButton", Frame)
InfJumpBtn.Size = UDim2.new(1, -20, 0, 40)
InfJumpBtn.Position = UDim2.new(0, 10, 0, 50)
InfJumpBtn.Text = "Infinite Jump Toggle"
InfJumpBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
InfJumpBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
_G.InfJump = false
InfJumpBtn.MouseButton1Click:Connect(function()
_G.InfJump = not _G.InfJump
game.StarterGui:SetCore("SendNotification",{Title="VillainHub", Text="Infinite Jump: "..tostring(_G.InfJump)})
end)
local Plr = game.Players.LocalPlayer
local Mouse = Plr:GetMouse()
Mouse.KeyDown:Connect(function(k)
if k == " " and _G.InfJump then
local hum = Plr.Character:FindFirstChildOfClass("Humanoid")
hum:ChangeState("Jumping")
task.wait()
hum:ChangeState("Seated")
end
end)
--// WALKSPEED INPUT
local SpeedBox = Instance.new("TextBox", Frame)
SpeedBox.Size = UDim2.new(1, -20, 0, 40)
SpeedBox.Position = UDim2.new(0, 10, 0, 100)
SpeedBox.Text = "WalkSpeed: 16"
SpeedBox.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
SpeedBox.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedBox.FocusLost:Connect(function()
local val = tonumber(SpeedBox.Text)
if val then
Plr.Character.Humanoid.WalkSpeed = val
end
end)
--// JUMPPOWER INPUT
local JumpBox = Instance.new("TextBox", Frame)
JumpBox.Size = UDim2.new(1, -20, 0, 40)
JumpBox.Position = UDim2.new(0, 10, 0, 150)
JumpBox.Text = "JumpPower: 50"
JumpBox.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
JumpBox.TextColor3 = Color3.fromRGB(255, 255, 255)
JumpBox.FocusLost:Connect(function()
local val = tonumber(JumpBox.Text)
if val then
Plr.Character.Humanoid.JumpPower = val
end
end)
--// DROPDOWN (simple)
local Areas = {"Starter World", "Pirate Island", "Pineapple Paradise"}
local CurrentArea = "Starter World"
local Dropdown = Instance.new("TextButton", Frame)
Dropdown.Size = UDim2.new(1, -20, 0, 40)
Dropdown.Position = UDim2.new(0, 10, 0, 200)
Dropdown.Text = "Area: Starter World"
Dropdown.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
Dropdown.TextColor3 = Color3.fromRGB(255, 255, 255)
Dropdown.MouseButton1Click:Connect(function()
local nextIndex = table.find(Areas, CurrentArea) + 1
if nextIndex > #Areas then nextIndex = 1 end
CurrentArea = Areas[nextIndex]
Dropdown.Text = "Area: " .. CurrentArea
end)
--// AUTOFARM TOGGLE
local AutoBtn = Instance.new("TextButton", Frame)
AutoBtn.Size = UDim2.new(1, -20, 0, 40)
AutoBtn.Position = UDim2.new(0, 10, 0, 250)
AutoBtn.Text = "Autofarm Toggle"
AutoBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
AutoBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
local AutoFarm = false
AutoBtn.MouseButton1Click:Connect(function()
AutoFarm = not AutoFarm
print("Autofarm:", AutoFarm)
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: