RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a speed simulator"
-- server script for speed simulator local players = game:GetService("Players") local speed = 10 -- change this value to adjust the speed boost function onTouched(part) local player = players:GetPlayerFromCharacter(part.Parent) if player then local humanoid = part.Parent:FindFirstChild("Humanoid") if humanoid then humanoid.WalkSpeed = humanoid.WalkSpeed + speed wait(5) -- change this value to adjust the duration of the speed boost humanoid.WalkSpeed = humanoid.WalkSpeed - speed end end end script.Parent.Touched:Connect(onTouched)