Cancelling a Function/Event

The documentation is not vague, it explicitly explains what cancel does which is preventing the task scheduler from resuming a thread. Threads that have already been resumed cannot be cancelled. There is no such thing in Luau as stopping a non-yielded thread mid-execution.

“I didn’t have problems” isn’t the same as “this is correct”. You’re likely using it in the right way, but your explanation about cancel is wrong and misleading.

this solved my problem. Alright thanks, mate :+1:

Yeah no problem, goodluck with your game.