How do you make a time period with rounds and make it so it teleports you in to an area after each round?
COMMUNITY QUESTION
How do I make my game have rounds that teleport?
1 answer
##Use a while loop.
You want the rounds to repeat infinitely, so it makes sense to use an infinite loop.
while true do
--teleport players to the map
wait(lengthOfRound)
--teleport players to the lobby
wait(intermission)
end
As for teleporting players, this has been asked a billion times before. Searching for it will yield some good answers, such as this one.
This discussion is preserved as it was. New answers, comments, and votes are closed.
