Hello!
In a game I use SetTimeout() for random action. If the user exits to the game the running timeout should be cancelled. If I use ClearTimeout() when the timeout is finished already then I got an error. I can't check Timeout with GetAttribute if it is finished.
I made a workaround like this:
Code: Select all
SetTimeout(10,Function() EndFunction,1)