I want to randomly teleport a player, who is standing on a specified part (called “RandoPick”). For example, let’s say 20 people are standing on “RandoPick”, named “Player” with corresponding numbers 1-20, how would I choose a random player.
You add a table containing all of the player’s touching the part and then you use math.random() to index a random positional number in the table.
Would the script look a little like this?
Local Players = Game.GetChildren:Connect(function(players)
If character.Humanoid OnTouch then