That code sucks.
Timer will keep on running on...
You should just use a timer with 10000 instead of 1000 and then just trigger
It's on client side, the timer would stop when the player gets redirected, please, use common since. I was just setting it up for how Malig wanted it, not how I think it should be.