Hey! So basically I have this one function that connects the welds between a fake head’s hatweld
and an acessory’s hatweld too. What happens is whenever the Y axis orientation of the head is not 0, it offsets them a lil bit making them not be properly positioned, can anybody help me?
local function equip(hat, human)
local hatAttach = hat:FindFirstChildOfClass("Attachment")
local humanAttach = human:FindFirstChild(hatAttach.Name, true)
local human = humanAttach.Parent
hat.CFrame = hatAttach.CFrame:Inverse() * human.CFrame * humanAttach.CFrame
local weld = Instance.new("WeldConstraint")
weld.Part0 = hat
weld.Part1 = human
weld.Parent = hat
end