-- LocalScript inside StarterGui local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") -- Current Speed Label local speedLabel = Instance.new("TextLabel") speedLabel.Size = UDim2.new(0.3, 0, 0.05, 0) speedLabel.Position = UDim2.new(0.35, 0, 0.3, 0) speedLabel.BackgroundTransparency = 1 speedLabel.TextColor3 = Color3.fromRGB(255, 255, 255) speedLabel.Font = Enum.Font.SourceSansBold speedLabel.TextSize = 28 speedLabel.Text = "Speed: " .. humanoid.WalkSpeed speedLabel.Parent = screenGui -- Speed Input Box local speedBox = Instance.new("TextBox") speedBox.Size = UDim2.new(0.2, 0, 0.05, 0) speedBox.Position = UDim2.new(0.4, 0, 0.4, 0) speedBox.PlaceholderText = "Enter speed" speedBox.Text = "" speedBox.Font = Enum.Font.SourceSans speedBox.TextSize = 24 speedBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) speedBox.TextColor3 = Color3.fromRGB(255, 255, 255) speedBox.Parent = screenGui -- Apply Button local applyBtn = Instance.new("TextButton") applyBtn.Size = UDim2.new(0.15, 0, 0.05, 0) applyBtn.Position = UDim2.new(0.425, 0, 0.48, 0) applyBtn.Text = "Set Speed" applyBtn.Font = Enum.Font.SourceSansBold applyBtn.TextSize = 24 applyBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255) applyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) applyBtn.Parent = screenGui -- Update current speed label in real time game:GetService("RunService").RenderStepped:Connect(function() speedLabel.Text = "Speed: " .. math.floor(humanoid.WalkSpeed) end) -- Set new speed when button is clicked applyBtn.MouseButton1Click:Connect(function() local newSpeed = tonumber(speedBox.Text) if newSpeed then humanoid.WalkSpeed = newSpeed else warn("Please enter a valid number for speed.") end end)