In your intermissionTimer function, you're missing an end. There should be one for the end of the for loop.
1 | function intermissionTimer() |
2 | if game.Players.NumPlayers > 2 then |
3 | for countDown = 10 , 1 , - 1 do |
4 | playerNotification( "Intermission: " ..countDown) |
However, the reason your script isn't throwing an error is because you the end for the if then statement on the intermissionTimer is acting as a end for the for loop. As well as the end intended for ending the function, is ending the if then statement. What this means is all the way at line 113 is the end of the intermissionTimer function. Since intermissionTimer is not being called, nothing can be done in the while loop, thus your script goes inactive just holding functions waiting to be used.
How to fix this, you need to remove the end from line 112, and add an end at line 20. So now your intermissionTimer function should look like this,
1 | function intermissionTimer() |
2 | if game.Players.NumPlayers > 2 then |
3 | for countDown = 10 , 1 , - 1 do |
4 | playerNotification( "Intermission: " ..countDown) |
If this helped, leave an upvote and if it worked hit the accept answer button! Leave a comment if you have any other questions or need further explanation somewhere.