Character NPC Weird Behavior

Hello.
I am currently working on NPCs that will emote in-game. In my opinion it’d give a lot of life to the game.

Script and everything works fine, though the hats are in totally other place than they should be:


It looks fine in-game, though it’s not looking to good in studio and is annoying overall. Anyone knows how to fix it?

I’d appreciate the help. :+1:

Remove the hats and put meshes with the hats IDs, after that is only weld the meshes in the right location.

When you play the game inside Studio, does the hat go to the expected place?

The thing is that Roblox automatically weld the hat Attachment (attachment under “Handle” part) with the attachment with same name in character. If hat’s attachment name is “HatAttachment” it will be automatically welded by the server to characters head.

What I usually do in studio is to manually bring the hat model to head’s position, so it doesn’t get that weird look while editing. But game will fix any miss in position anyways