This script is supposed to weld a Cap union part over my custom characters head through a clothing GUI but I cant change the position.Why?
game.ReplicatedStorage.Events.HatEvent1.OnServerEvent:Connect(function(plr)
local char = plr.Character
local Storage = game.ReplicatedStorage.Hats.Cap1
local Head = char.Head
local New_Cap1 = Storage:Clone()
New_Cap1.CFrame = Head.CFrame * CFrame.new(12,12,12)
New_Cap1.Parent = Head
local Weld = Instance.new("Weld")
Weld.Parent = New_Cap1
Weld.Part0,Weld.Part1 = Head, New_Cap1
Weld.C0 = New_Cap1.CFrame
Weld.C1 = Head.CFrame

2 comments
I'm taking there are no errors? Looks like there aren't any Syntax errors.
@TheLeader_TimJunior Is there any other way to weld it