I'm making a game that features a set of mini games and..... blah blah blah..... and I'm not necessarily sure what should be put into the script that randomly chooses a player to be teleported at a set of coordinates at the same time as the other players.
My Request:
What do I need in the script to randomly select a player to be ported at a set coordinates?
I'm not necessarily asking for a whole script but like trimmings would help me understand a little better.
In advance,
Thank you~
:)
easy
m = game.Players:GetChildren() -- gets players in server mg = m[math.random(1,#m)] -- choses random player
the random player will now be called mg so if you want the players team to change you can do this
mg = BrickColor.new("Bright blue")