I want the game to get all the children players and book them in a variable then teleport them and this is the script:
local ppirates = game.Players:GetChildren()
for x=1, #ppirates do
if ppirates[x] ~= nil then
if ppirates[x] ~= nil then
if ppirates[x].Character:findFirstChild("Torso") ~= nil then
ppirates[x].Character.Torso.CFrame = CFrame.new(pos+Vector3.new(243,1.5,-225.4))
The problem is that it does not work. Why? How can I fix it?

2 comments
No explanations?
The only part he didn't do was MoveTo() and that's pretty self explanatory, once you look at the script.