Hi! I was wondering how I would be able to make a loop that goes faster for each time it runs. I just want the wait() to be a little bit shorter for every time it runs. Thanks!
wait() cannot do more than 30 times per second so if you are okay with that as the maximum speed then here is a script
local speed = 1 -- initial speed, how many times it runs per second
while true do
-- your code
wait(1/speed)
speed = math.max(30, speed + 1)
end
local x = 60
while true do
if x < 1 then
break;
end
-- do stuff
wait(x)
end