So basically, I’m trying to make a 2d camera, but I’m having trouble getting the HumanoidRootPart’s position, so that the camera can follow it. So, how do I get the HumanoidRootPart’s position?
2 Likes
this is pretty simple. since this is probably in a local script you just have to do as follows:
game.Players.LocalPlayer.Character.HumanoidRootPart.Position
or if you want the CFrame:
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
2 Likes