When you script to pick a random thing or in my case a person, how would you do it so that it only picks 1 person and not 5 people? Here is my example.
function findperson()
player = game.Players:GetPlayers()
person = player[math.random(1, #player)]
end
Does the # 1 mean that it picks 1 person? Cause for some reason, it picks random numbers of people like 2 or 3 or 1 or 4?

4 comments
What does that return do? What does it mean?
Im using this in a later loop, will your way still work?
Hm? Just look at what the randomPerson does and stuff. Should be self explanitory.
But what does return mean, I've never used it?