I heard to move a player it went somewhere across the lines of this
local plr = game.Players.LocalPlayer
plr.Character:MoveTo(CFrame.new(100,100,100))
But it always gives me an error saying it's not a member!
I heard to move a player it went somewhere across the lines of this
local plr = game.Players.LocalPlayer
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:
local plr = game.Players.LocalPlayer
plr.Character.PrimaryPart = player.Character.Torso
plr.Character:SetPrimaryPartCFrame(CFrame.new(100,100,100))
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
I believe MoveTo is a Vector3 not a CFrame
It is. A much better way would be moving the player's torso.
No because player walk to point