#Is there any ways to immediately stop wait(intermission)? i want to make something like skipp interm
36 messages · Page 1 of 1 (latest)
while not skipped
play(intermission)
end
button.clicked -> skipped = true
i frogot syntax 
what
like
what are u trying to skip
well i want to stop wait function
like for example
wait(100)
and i want to make skip button
that will stop wait function
you cant
wait halts the tread so no code can be "run"
so there really isnt a way to stop it
in the middle
but you can work around that
aaw
is it a cutscene?
its intermisson between floors
im making elevator game
i want to make skip floor time
Yeye
while true do
wait(1)
display()
if skipped then nextFloor() end
end
if skip.clicked -> skipped = true end
something like that
it would be better with a runservice loop but it shouldnt change much for this
U mean i can make for example intermission check every 5 seconds if it skipped
** You are now Level 7! **
Good idea but