So let’s imagine a while loop, and inside that while loop will be given the names of the players that are on the server randomly.
How do I do that?
local Players = game:GetService("Players"):GetChildren() --or table of selected players
local RandomPlayer = Players[math.random(1,#Players)]
print(RandomPlayer)
1 Like
I didn’t know you could do that, thanks