game.Players.PlayerAdded:connect(function(player)
player.CanLoadCharacterAppearance = false
local characterArmour = script["Grim Reaper"]
if characterArmour then
player.CharacterAdded:connect(function(character)
if character then
for _, v in pairs(characterArmour:GetChildren()) do
if v.Name == "Handle" then
local handle = v:Clone()
local accessory = Instance.new("Accessory", character)
handle.Parent = accessory
handle.FormFactor = "Custom"
handle.Size = Vector3.new(2, 1, 1)
accessory.AttachmentPos = Vector3.new(0, 0.5, 0)
handle.Anchored = false
end
end
end
end)
end
end)
I'm trying to get a part to be attached to the players head, like a hat. The only problem I have is when I change the handle to something else, it changes how it's placed on the character. How can I make it so it always put the handle on the players head as if it were a normal hat?
EDIT Images

2 comments
I mean, it kinda works, but I'm using custom hats, and when I load them in, they dont position correctly
I'll edit my question, I have positioned the hats to a player head on a model. I clone the hat and the head into the player. How can I get the hat to be cloned to the same position as the 'fake' head? You can see the hat spawns above the players head. I know I could adjust the attachmentpos, but its different for each hat. I just want every hat to spawn on the same position for every player