#how to make timer
21 messages · Page 1 of 1 (latest)
Then use while and os.time
oh okay
I'll search about that
hmm
I think that one is about time
counting how much time passed
.
for i = 10,1 ,-1 do
wait(1)
myVar += 1
but if there's a remote event coming I want it to stop
this code isn't clear enough srry
wait I'll be back tmr
** You are now Level 1! **
I don’t understand what you’re trying to do
.Touched event will get fired in a separate “thread” meaning it won’t be yielded by the wait()
you could check for touching in for loop but the part.touched:connect funtion checks forever and it wont do stuffs outside once it have been called. I think