Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make a character move positions without dying?

Asked by
NotSoNorm 777 Moderation Voter
8 years ago

I've tried to move the player, It's been successful but keeps killing the players, Why?

game.Workspace.Player.Torso.Position = Vector3.new(0, 50, 0)
0
It would be helpful if you showed us your code to move the players. Click the Lua icon and copypaste your code between the lines. funyun 958 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

The Proper way to do this is to use the :MoveTo() Function.
Example

Player:MoveTo(Vector3.new(0,0,0))
0
Changing the Torso's CFrame is better since you can play with the rotation as well KoreanBBQ 301 — 8y
Ad

Answer this question