I am making a tool that welds a part (an ankh) to a players back when used.
It works fine if i use it standing completely still, but if i move around or even turn my character in another direction it gets crooked.
(how i want it to look: Works if i use the tool before moving)
(How it looks if i move then use the tool)
Here’s my code:
local acc = game.ServerStorage.Parts.BackAnkh:Clone()
local weld = Instance.new("WeldConstraint", acc)
acc.Parent = script.Parent
acc.CFrame = torso.CFrame * CFrame.new(0,0,0.6)
acc.Orientation = acc.Orientation + Vector3.new(0,90,0)
weld.Part0 = acc
weld.Part1 = torso