Greetings, everyone. My task is to make it so that after the timer expires all players in the minigame teleported to a certain place. However, skript writes that there is an error: There's no player in a periodical event. What do I need to do to make skript understand which players should be teleported?
every 1 second: if {gamestart_timer} > -1: subtract 1 from {gamestart_timer} if {gamestart_timer} = 10: loop 10 times: broadcast "game starts in %11 - loop-number%" wait a second if {gamestart_timer} = 0: teleport player to {spawn}