local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local SpeedValue = 16 local JumpValue = 50 local gui = Instance.new("ScreenGui") gui.Name = "BoostGUI" gui.ResetOnSpawn = false gui.Parent = playerGui local frame = Instance.new("Frame") frame.Name = "Main" frame.Size = UDim2.new(0,360,0,140) frame.Position = UDim2.new(0.35,0,0.2,0) frame.BackgroundColor3 = Color3.fromRGB(0,90,0) frame.BorderSizePixel = 0 frame.Active = true frame.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0,12) corner.Parent = frame local stroke = Instance.new("UIStroke") stroke.Thickness = 2 stroke.Color = Color3.fromRGB(0,180,0) stroke.Parent = frame local title = Instance.new("TextLabel") title.Size = UDim2.new(1,-90,0,30) title.Position = UDim2.new(0,10,0,0) title.BackgroundTransparency = 1 title.Text = "Boost Panel" title.Font = Enum.Font.GothamBold title.TextColor3 = Color3.new(1,1,1) title.TextScaled = true title.Parent = frame local close = Instance.new("TextButton") close.Size = UDim2.new(0,35,0,35) close.Position = UDim2.new(1,-40,0,5) close.BackgroundColor3 = Color3.fromRGB(170,0,0) close.Text = "X" close.Font = Enum.Font.GothamBold close.TextScaled = true close.TextColor3 = Color3.new(1,1,1) close.Parent = frame Instance.new("UICorner",close).CornerRadius=UDim.new(0,8) local hide = Instance.new("TextButton") hide.Size = UDim2.new(0,35,0,35) hide.Position = UDim2.new(1,-80,0,5) hide.BackgroundColor3 = Color3.fromRGB(70,70,70) hide.Text = "-" hide.Font = Enum.Font.GothamBold hide.TextScaled = true hide.TextColor3 = Color3.new(1,1,1) hide.Parent = frame Instance.new("UICorner",hide).CornerRadius=UDim.new(0,8) local speedBox = Instance.new("TextBox") speedBox.Size = UDim2.new(0,80,0,30) speedBox.Position = UDim2.new(0,10,0,45) speedBox.BackgroundColor3 = Color3.fromRGB(120,255,120) speedBox.Text = "16" speedBox.ClearTextOnFocus = false speedBox.TextScaled = true speedBox.Parent = frame Instance.new("UICorner",speedBox).CornerRadius=UDim.new(0,8) local speedButton = Instance.new("TextButton") speedButton.Size = UDim2.new(0,130,0,30) speedButton.Position = UDim2.new(0,100,0,45) speedButton.BackgroundColor3 = Color3.fromRGB(0,160,0) speedButton.Text = "Speed Boost" speedButton.TextScaled = true speedButton.TextColor3 = Color3.new(1,1,1) speedButton.Parent = frame Instance.new("UICorner",speedButton).CornerRadius=UDim.new(0,8) local jumpBox = Instance.new("TextBox") jumpBox.Size = UDim2.new(0,80,0,30) jumpBox.Position = UDim2.new(0,10,0,90) jumpBox.BackgroundColor3 = Color3.fromRGB(120,255,120) jumpBox.Text = "50" jumpBox.ClearTextOnFocus = false jumpBox.TextScaled = true jumpBox.Parent = frame Instance.new("UICorner",jumpBox).CornerRadius=UDim.new(0,8) local jumpButton = Instance.new("TextButton") jumpButton.Size = UDim2.new(0,130,0,30) jumpButton.Position = UDim2.new(0,100,0,90) jumpButton.BackgroundColor3 = Color3.fromRGB(0,160,0) jumpButton.Text = "Jump Boost" jumpButton.TextScaled = true jumpButton.TextColor3 = Color3.new(1,1,1) jumpButton.Parent = frame Instance.new("UICorner",jumpButton).CornerRadius=UDim.new(0,8) local minimized=false local dragging=false local dragInput local dragStart local startPos local function getHumanoid() local character = player.Character or player.CharacterAdded:Wait() return character:WaitForChild("Humanoid") end local function applySpeed() local hum = getHumanoid() local value = tonumber(speedBox.Text) if value then SpeedValue = value hum.WalkSpeed = value else speedBox.Text = tostring(SpeedValue) end end local function applyJump() local hum = getHumanoid() local value = tonumber(jumpBox.Text) if value then JumpValue = value if hum.UseJumpPower then hum.JumpPower = value else hum.JumpHeight = value end else jumpBox.Text = tostring(JumpValue) end end speedButton.MouseButton1Click:Connect(applySpeed) jumpButton.MouseButton1Click:Connect(applyJump) player.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid") task.wait(0.2) hum.WalkSpeed = SpeedValue if hum.UseJumpPower then hum.JumpPower = JumpValue else hum.JumpHeight = JumpValue end end) frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UIS.InputChanged:Connect(function(input) if dragging and input == dragInput then local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) --======================== -- Hide / Show --======================== local savedSize = frame.Size hide.MouseButton1Click:Connect(function() if minimized then minimized = false frame.Size = savedSize title.Visible = true speedBox.Visible = true speedButton.Visible = true jumpBox.Visible = true jumpButton.Visible = true close.Visible = true hide.Text = "-" hide.Position = UDim2.new(1,-80,0,5) else minimized = true frame.Size = UDim2.new(0,70,0,45) title.Visible = false speedBox.Visible = false speedButton.Visible = false jumpBox.Visible = false jumpButton.Visible = false close.Visible = false hide.Text = "+" hide.Position = UDim2.new(0,17,0,5) end end) --======================== -- Close --======================== close.MouseButton1Click:Connect(function() gui.Enabled = false end) --======================== -- TextBox Check --======================== speedBox.FocusLost:Connect(function() if tonumber(speedBox.Text) == nil then speedBox.Text = tostring(SpeedValue) end end) jumpBox.FocusLost:Connect(function() if tonumber(jumpBox.Text) == nil then jumpBox.Text = tostring(JumpValue) end end) --======================== -- First Spawn --======================== task.spawn(function() local hum = getHumanoid() hum.WalkSpeed = SpeedValue if hum.UseJumpPower then hum.JumpPower = JumpValue else hum.JumpHeight = JumpValue end end) print("Boost GUI Loaded!")