Custom Hat/Accessory Guide for Humanoids

So this method doesn’t exactly work with my character clothes, In Arsenal I’ve seen many characters basically have some type of 3D clothes without any issues with joints and other problems. Here’s an example of my character.

However, I’ve found out that using Weld Constraints works better than accessories but with animations applied it turns into a mess and look like this.

image

Any clue on how to fix this?