#Run a script for 12 seconds then stop not working?

12 messages · Page 1 of 1 (latest)

trail fulcrum
#

what why are u looping a wait to wait a certain time????

#

just use wait(12)

#

lol

#

the code wont even reach the bottom

#

u made an infinite

#

loop

#

if you want it to stop working entirely

#

just do

#

game:GetService("Debris"):AddItem(script, 12)

#

debris is best for temporary things

#

lua is synchronous. if you have an infinite while loop that never has a condition telling it too stop nothing below it will run.

#

^^^ this never ends