Positions={CFrame.new(135.051, 40.7, -27.949),CFrame.new(135.051, 40.7, -42.949),CFrame.new(135.051, 40.7, -61.949)}
MovePlayer=function(player)
for p=1,#Positions do
player.Character.Torso.CFrame=Positions[p]
end
PlayerEnter=function(player)
-- Bunch of irrelevant functions here
player.Changed:connect(function(prop)
if (prop=="Character") then
MovePlayer(player)
end
end)
end
It's not moving the player's torso. Also, is there any way I could make the points random? I feel like if the script did work, Positions[p] would just set the move point to a same position each time.
Thank you in advance!

1 comment
Ahhh! I'm sorry about the formatting, I was in a hurry to type it (I typed it directly on here, no copy&pasting so I forgot all about those tabs haha). I appreciate the tip. And thank you so much for the fix!