LocalScript: [Script For The Button!]
local UserInputService = game:GetService("UserInputService")
local Button = script.Parent
local Player = game.Players.LocalPlayer
local speed = 100 -- aqui você muda a velocidade do sprint
Button.Activated:Connect(function()
local humanoid = Player.Character.Humanoid
if not humanoid then
return
end
if humanoid.WalkSpeed == 16 then
humanoid.WalkSpeed = speed
else
humanoid.WalkSpeed = 16
end
end)
if UserInputService.KeyboardEnabled then
Button.Visible = false
end
Tags:
#roblox #foryou #robloxedit #roblox #games #gaming #doomspire #bomb #edit #funny #music