#Not sure what’s wrong need help
1 messages · Page 1 of 1 (latest)
self.hrp is nil
So how do I fix that
I’m new and don’t know a lot
i dont see your whole code so idfk what u want hrp to be
what do u want hrp to be
Ok give me one minute
hrp is usually the HumanoidRootPart
I was copying off a YouTube tutorial and when I went to test it that popped up
This is all of it
** You are now Level 1! **
so set self.hrp to self.character.PrimaryPart
also if u are new why r u working with meta tables
💔
Idk I’ll find something easier for now but thanks anyway
this will also result in an error
CFrame is not a valid member of game.Workspace[PLAYER_NAME].Humanoid
you should completely remove that line
and replace it with
self.hrp = self.character:WaitForChild("HumanoidRootPart")```