
3.8k Views
270 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
gradually increases the speed of your character over time like those +1 speed every second games (dont know why anyone would need this)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local humanoid = player.Character:WaitForChild("Humanoid")
local speedIncrement = 10 -- Adjust this value to control the speed increase rate
while true do
humanoid.WalkSpeed = humanoid.WalkSpeed + speedIncrement
wait(1)
-- Check if the player has died
if humanoid.Health <= 0 then
-- Respawn the player
player.Character:Destroy()
player.CharacterAdded:Wait()
humanoid = player.Character:WaitForChild("Humanoid")
humanoid.WalkSpeed = 0
end
end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







