I haven't worked with humanoids much, this is my first script involving them, and yes the script is pretty convoluted.
If the player dies before the event trigger activates, it can no longer locate the HumanoidRootPart. I specifically get the error on line 103: "local targetCFrame = char.HumanoidRootPart.CFrame * relativeCFrame".
I believe the solution is using the 'CharacterAdded' trigger, I just don't really know where to place it.
#HumanoidRootPart not a valid member of Model after player death
1 messages · Page 1 of 1 (latest)