local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local infiniteJump = false -- GUI local gui = Instance.new("ScreenGui") gui.Name = "InfiniteJumpGui" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") -- Main Button local button = Instance.new("TextButton") button.Size = UDim2.new(0, 200, 0, 60) button.Position = UDim2.new(0.5, -100, 0, 20) -- top center button.Text = "Infinite Jump: OFF" button.TextScaled = true button.Font = Enum.Font.GothamBold button.TextColor3 = Color3.fromRGB(255, 255, 255) button.BackgroundTransparency = 0 button.BackgroundColor3 = Color3.fromRGB(255, 0, 150) button.BorderSizePixel = 0 button.Parent = gui -- Rounded corners local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 15) corner.Parent = button -- Gradient local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 150)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 150, 0)) } gradient.Rotation = 45 gradient.Parent = button -- Shadow local shadow = Instance.new("ImageLabel") shadow.BackgroundTransparency = 1 shadow.Size = UDim2.new(1, 10, 1, 10) shadow.Position = UDim2.new(0, -5, 0, -5) shadow.Image = "rbxassetid://6014261999" -- shadow image shadow.ImageColor3 = Color3.fromRGB(0, 0, 0) shadow.ImageTransparency = 0.5 shadow.ScaleType = Enum.ScaleType.Slice shadow.SliceCenter = Rect.new(10,10,118,118) shadow.Parent = button -- Button click button.MouseButton1Click:Connect(function() infiniteJump = not infiniteJump if infiniteJump then button.Text = "Infinite Jump: ON" else button.Text = "Infinite Jump: OFF" end end) -- Infinite jump logic UserInputService.JumpRequest:Connect(function() if infiniteJump then local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end end)