I wonder if there is something to stop function if I press or click something..

Disconnect() ?

2 comments

0

In essence you can make a function and use :Resume() and :Yield()