Why is it that when i set my hrp to a location I start flying around

So basically I was just vibing and then all of the sudden when I teleported my character I was in a wall and when i moved I flew around like an astral projection and then my roblox studio crashed.

game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(26.163, 23.823, -315.753)

im probably wrong, but i think its because you are doing this on a localscript

Use Humanoid:MoveTo(), moving the HRP directly often kills characters and causes coreScript bugs

I used PivotTo, but basically the same thing.

pivotTo is for CFrames and PVInstances but yeah same energy

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.