I'm trying to get the Character from the Player in a LocalScript so I can get the HumanoidRootPart to teleport them, but every time I try to get the HRP, it just errors: attempt to index nil with 'character' (on line 2)
The code:
local Player = game.Players.LocalPlayer
local HRP = Player.Character.HumanoidRootPart
print(HRP.Position)

2 comments
And you're positive its a localscript?
Yes, I'm positive