I am going to lose my mind.

For the past two days I've been trying to make a script that removes accessories from the player character and adds back the hair, and I knew that it was a stretch in the first place but apparently I find myself incapable of even finding the hair attachment using FindFirstChild, I'm at my wits end and am literally just trying to see if I can find it at all using this command in the workspace, I can't.

print(game.Players.LocalPlayer.Character:FindFirstChild("HairAttachment"))

The output always ends up nil. Am I a moron? Am I missing something essential here? Does it not search multiple children!? I know it's spelt right and that it is present in the given location I probably just have no idea how it works!

2 comments

0

Are you doing this on the server or on the client? If you're doing it on the server, of course it returns nil.

0

I was using it as a command