I heard to move a player it went somewhere across the lines of this
1 | local plr = game.Players.LocalPlayer |
2 | plr.Character:MoveTo(CFrame.new( 100 , 100 , 100 )) |
But it always gives me an error saying it's not a member!
Instead of using ':MoveTo()' try using ':SetPrimaryPartCFrame()'.
Something like this:
1 | local plr = game.Players.LocalPlayer |
2 | plr.Character.PrimaryPart = player.Character.Torso |
3 | plr.Character:SetPrimaryPartCFrame(CFrame.new( 100 , 100 , 100 )) |
Closed as Too Broad by M39a9am3R
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?