
Key RequiredUniversal

local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SpeedGui"
screenGui.Parent = playerGui
screenGui.ResetOnSpawn = false
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 160, 0, 230)
frame.Position = UDim2.new(0.5, -80, 0.5, -115)
frame.BackgroundColor3 = Color3.new(1, 1, 1)
frame.BorderColor3 = Color3.new(0, 0, 0)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui
local speedButton = Instance.new("TextButton")
speedButton.Size = UDim2.new(1, -20, 0, 40)
speedButton.Position = UDim2.new(0, 10, 0, 10)
speedButton.BackgroundColor3 = Color3.new(1, 1, 1)
speedButton.BorderColor3 = Color3.new(0, 0, 0)
speedButton.Text = "Speed"
speedButton.TextColor3 = Color3.new(0, 0, 0)
speedButton.Font = Enum.Font.SourceSansBold
speedButton.TextSize = 20
speedButton.Parent = frame
local inputBox = Instance.new("TextBox")
inputBox.Size = UDim2.new(1, -20, 0, 40)
inputBox.Position = UDim2.new(0, 10, 0, 60)
inputBox.PlaceholderText = "Digite a velocidade"
inputBox.BackgroundColor3 = Color3.fromRGB(245, 245, 245)
inputBox.BorderColor3 = Color3.new(0, 0, 0)
inputBox.TextColor3 = Color3.new(0, 0, 0)
inputBox.Visible = false
inputBox.Font = Enum.Font.SourceSans
inputBox.TextSize = 18
inputBox.ClearTextOnFocus = false
inputBox.Parent = frame
local confirmButton = Instance.new("TextButton")
confirmButton.Size = UDim2.new(1, -20, 0, 40)
confirmButton.Position = UDim2.new(0, 10, 0, 110)
confirmButton.Text = "OK"
confirmButton.BackgroundColor3 = Color3.new(1, 1, 1)
confirmButton.BorderColor3 = Color3.new(0, 0, 0)
confirmButton.TextColor3 = Color3.new(0, 0, 0)
confirmButton.Visible = false
confirmButton.Font = Enum.Font.SourceSansBold
confirmButton.TextSize = 20
confirmButton.Parent = frame
local resetButton = Instance.new("TextButton")
resetButton.Size = UDim2.new(1, -20, 0, 40)
resetButton.Position = UDim2.new(0, 10, 0, 160)
resetButton.Text = "Reset"
resetButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
resetButton.BorderColor3 = Color3.new(0, 0, 0)
resetButton.TextColor3 = Color3.new(0, 0, 0)
resetButton.Font = Enum.Font.SourceSansBold
resetButton.TextSize = 20
resetButton.Parent = frame
speedButton.MouseButton1Click:Connect(function()
inputBox.Visible = true
confirmButton.Visible = true
end)
confirmButton.MouseButton1Click:Connect(function()
local speed = tonumber(inputBox.Text)
if speed and player.Character and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.WalkSpeed = speed
end
inputBox.Visible = false
confirmButton.Visible = false
end)
resetButton.MouseButton1Click:Connect(function()
if player.Character and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.WalkSpeed = 16
end
end)No comments yet for this script.



