In my game I have a live countdown (in a server script), and when the countdown reaches 0 it changes a variable in ServerScriptService to true.
Now when the variable is true, it will let people teleport to a new place within the game.
Is this code secure? Will people be able to teleport to the place prior to the countdown reaching 0? If so, how can I make it so that players won’t be able to teleport unless the countdown reaches 0?
the teleport should be fine…
however, if an exploiter got the placeid for where you are teleporting them to, i believe they can teleport themself, to prevent this you would probably have to add a check to see if the countdown is over or not when they join (in the place you are teleporting players to), or just close the place until then