local Players = game.Players
local player = Players:GetChildren()
local pickedPl = player[math.random(1, #player)]
local Name = pickedPl.Name
Players.Name.Torso.CFrame.new(Vector3.new(216.601, 242.901, -60.497))
It says that 'Name' isn't part of players, but how do I make it so it the script reads the picked players name so it can teleport?
-Update I couldn't think of the correct tag.

2 comments
If you use this answer and thought it was helpful it would benefit both of us if you clicked "Accept Answer" button.
Don't worry, but yeah thanks.