I have this code wich SHOULD work but it doesn't. So, lol, plz help :))
local amount= 180 --the for loop number local length = 5 --how long it should last for i = 1, amount do wait(length/amount) end
I will mark you as answer if you can help, thx!
Haha there's a little mix up going on here.
local amount= 180 --the for loop number local length = 5 --how long it should last for i = 1, amount do wait(amount/length) end
It technically was doing what you told it to do, 5/180. What I think you meant to do was 180/5, so I have changed up the order in the division.
Also, the 180 in this case (the amount) is how many times it will run through your code, just if you were unaware
Hope this helped!