How to Stop the event


i tried to make a like when player is moving then died just like squid game
that we need to wait 4 sec and then player need to stop moving to not die
and 4 sec cooldown
I already made 1 but the event is not working i tried to make debounce but its not working
Local Script

1 Like