Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Followup- I get this error every single time I used any piece of code I added. Help?

The original question is here

I'm repeatedly getting this error, " HumanoidRootPart is not a valid member of Model"

1 answer

✓ Accepted answer

Going off PrismaticFruits answer in your previous inquiry

local player = game.Players.LocalPlayer
local playerpos = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
 
workspace["PART NAME HERE"].Position = Vector3.new(playerpos)	wait(0.5)

instead of doing .HumanoidRootPart do :WaitForChild("HumanoidRootPart") as sometimes the scripts load before the character loads in causing the problem

If you have any more problems contact me via Discord at deth836231#6264 and i can assist you further.

This discussion is preserved as it was. New answers, comments, and votes are closed.