-- Infinite Jump with Rainbow Draggable UI -- Place this in StarterPlayerScripts local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local infiniteJumpEnabled = false -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "InfiniteJumpGUI" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") -- Create Button local button = Instance.new("TextButton") button.Size = UDim2.new(0, 180, 0, 50) button.Position = UDim2.new(0, 50, 0, 50) button.Text = "Infinite Jump: OFF" button.Font = Enum.Font.SourceSansBold button.TextScaled = true button.Parent = screenGui button.Active = true button.Draggable = true -- Function to convert HSV to RGB local function HSVtoRGB(h, s, v) return Color3.fromHSV(h, s, v) end -- Rainbow effect local hue = 0 RunService.RenderStepped:Connect(function(deltaTime) hue = (hue + deltaTime * 0.2) % 1 -- speed of rainbow cycling local color = HSVtoRGB(hue, 1, 1) if infiniteJumpEnabled then button.BackgroundColor3 = color else button.BackgroundColor3 = Color3.fromRGB(0, 170, 255) -- default blue when off end end) -- Toggle Infinite Jump button.MouseButton1Click:Connect(function() infiniteJumpEnabled = not infiniteJumpEnabled if infiniteJumpEnabled then button.Text = "Infinite Jump: ON" else button.Text = "Infinite Jump: OFF" end end) -- Infinite Jump logic UserInputService.JumpRequest:Connect(function() if infiniteJumpEnabled and player.Character and player.Character:FindFirstChild("Humanoid") then local humanoid = player.Character:FindFirstChild("Humanoid") if humanoid:GetState() ~= Enum.HumanoidStateType.Seated then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end)