#How to change player position

5 messages · Page 1 of 1 (latest)

lament stone
#

Im pretty new can someone just tell me how I would change my players position?

wispy canopyBOT
#

studio** You are now Level 2! **studio

analog sleet
#
local player = game:GetService("Players").LocalPlayer
local position = Vector3.new(0, 100, 0)
player.Character.HumanoidRootPart.CFrame = CFrame.new(position)

i also have no idea what im doing. couldnt even get this to run. i only ran it once accidentally and saw that it worked

#

i do know that this only works in a localscript though. if you want it in a normal script you'd prob have to get the player a different way

#

ah okay when i put it in startercharacterscripts it runs right when the game is loaded