local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local Title = Instance.new("TextLabel") local SpeedInput = Instance.new("TextBox") local ApplyBtn = Instance.new("TextButton") ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false MainFrame.Name = "SpeedGui" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.Position = UDim2.new(0.5, -100, 0.5, -50) MainFrame.Size = UDim2.new(0, 200, 0, 110) MainFrame.Active = true MainFrame.Draggable = true Title.Parent = MainFrame Title.BackgroundTransparency = 1 Title.Size = UDim2.new(1, 0, 0, 30) Title.Text = "Ajustar Velocidade" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 16 Title.Font = Enum.Font.SourceSansBold SpeedInput.Parent = MainFrame SpeedInput.BackgroundColor3 = Color3.fromRGB(45, 45, 45) SpeedInput.Position = UDim2.new(0.1, 0, 0.35, 0) SpeedInput.Size = UDim2.new(0.8, 0, 0, 30) SpeedInput.Text = "50" -- Valor padrão inicial SpeedInput.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedInput.TextSize = 16 SpeedInput.Font = Enum.Font.SourceSans ApplyBtn.Parent = MainFrame ApplyBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255) ApplyBtn.Position = UDim2.new(0.1, 0, 0.7, 0) ApplyBtn.Size = UDim2.new(0.8, 0, 0, 25) ApplyBtn.Text = "Aplicar Speed" ApplyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ApplyBtn.TextSize = 14 ApplyBtn.Font = Enum.Font.SourceSansBold local targetSpeed = 16 task.spawn(function() while task.wait(0.1) do pcall(function() local character = game.Players.LocalPlayer.Character if character and character:FindFirstChild("Humanoid") then character.Humanoid.WalkSpeed = targetSpeed end end) end end) ApplyBtn.MouseButton1Click:Connect(function() local value = tonumber(SpeedInput.Text) if value then targetSpeed = value else SpeedInput.Text = "Número inválido!" end end)