Alright, so here is a thing I'm trying to do, I have been trying to make a hide and seek game but heres my question, how can I make a script that selects a player and makes them it.
✓ ANSWER ACCEPTED
How do I make This Script That Selects A Player?
2 answers
✓ Accepted answer
You would first have to get all the players in the game, and select one of them at random:
local players = game.Players:GetPlayers()
local chosenplayer = players[math.random(1, #players)]
Wait NVM I got it. :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
