#Stopping a countdown when condition is set to false

31 messages · Page 1 of 1 (latest)

faint tartan
#
  1. You didn't specify what the problem is.
  2. I don't see the part where you make ready = false.
flint flame
#

If boolean == condition then return end

faint tartan
#

He already has a while ready == true do end

flint flame
#

I don't understand what the dude wants well tbh

faint tartan
#

Right.

#

Also, please use task.wait(). I am not a wait() hater but people say it's better that way, so just use it.

#

And never space your code blocks so much ever again, it's disgusting.

flint flame
faint tartan
#

Imagine having a 100 lines script and spacing everything out like that.

#

Goes from 100 to 1000 really fast.

flint flame
#

Worst part that I was learning scripting from free models at that time lmao

thorn depot
thorn depot
flint flame
thorn depot
#

yes!

flint flame
#

You use for I loops for stuff like that man

flint flame
#

For I = 1,Duration,1 do
Task.Wait(1)
end

flint flame
thorn depot
sonic fern
flint flame
#

I don't see an issue with for I )loops tbh.

sonic fern
#

if u set ready to false in client

#

it wouldnt do shit in server

#

make another event for it

#

or handle it some other non shitty way

flint flame
#

if not ready then break/return end

thorn depot
#

oh okay !! I see I'll try that thank you !!