How to choose someone of the server with math.random()??
COMMUNITY QUESTION
How to choose someone of the server randomly?
1 answer
Try this! localscript server script service idk
local randomPlayer = game.Players:GetPlayers()
[math.random(1,#game.Players:GetPlayers())]
The variable randomPlayer is the variable of the chosen random person, use it to your advantage, have a great day
script credits to: https://scriptinghelpers.org/questions/2160/how-can-i-make-a-script-to-choose-a-random-player
This discussion is preserved as it was. New answers, comments, and votes are closed.
