-- Place this in a LocalScript inside StarterPlayerScripts local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "StatsGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Main Frame (draggable) local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 220, 0, 180) frame.Position = UDim2.new(0.5, -110, 0.5, -90) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui -- Corner rounding local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = frame -- Title local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 35) title.BackgroundColor3 = Color3.fromRGB(50, 50, 200) title.Text = "Player Stats" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.GothamBold title.TextSize = 16 title.Parent = frame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 8) titleCorner.Parent = title -- Helper function to create labeled TextBox rows local function createRow(labelText, defaultValue, yPos) local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 100, 0, 35) label.Position = UDim2.new(0, 10, 0, yPos) label.BackgroundTransparency = 1 label.Text = labelText label.TextColor3 = Color3.new(1, 1, 1) label.Font = Enum.Font.Gotham label.TextSize = 14 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = frame local box = Instance.new("TextBox") box.Size = UDim2.new(0, 90, 0, 30) box.Position = UDim2.new(0, 115, 0, yPos + 2) box.BackgroundColor3 = Color3.fromRGB(60, 60, 60) box.Text = tostring(defaultValue) box.TextColor3 = Color3.new(1, 1, 1) box.Font = Enum.Font.Gotham box.TextSize = 14 box.ClearTextOnFocus = false box.Parent = frame local boxCorner = Instance.new("UICorner") boxCorner.CornerRadius = UDim.new(0, 6) boxCorner.Parent = box return box end local walkSpeedBox = createRow("WalkSpeed:", 16, 45) local jumpPowerBox = createRow("JumpPower:", 50, 90) -- Apply Button local applyBtn = Instance.new("TextButton") applyBtn.Size = UDim2.new(1, -20, 0, 35) applyBtn.Position = UDim2.new(0, 10, 0, 135) applyBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50) applyBtn.Text = "Apply" applyBtn.TextColor3 = Color3.new(1, 1, 1) applyBtn.Font = Enum.Font.GothamBold applyBtn.TextSize = 15 applyBtn.Parent = frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 6) btnCorner.Parent = applyBtn -- Apply logic applyBtn.MouseButton1Click:Connect(function() local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end local newSpeed = tonumber(walkSpeedBox.Text) local newJump = tonumber(jumpPowerBox.Text) if newSpeed then humanoid.WalkSpeed = math.clamp(newSpeed, 0, 500) end if newJump then humanoid.JumpPower = math.clamp(newJump, 0, 500) end end)