Weld is not working [SOLVED]

my script: script.Parent.ProximityPrompt.Triggered:Connect(function(Player) Player.Character.Humanoid:LoadAnimation(script.Take):Play() local Weld = Instance.new("WeldConstraint",Player.Character.LeftHand) Weld.Part0 = script.Parent.Parent Weld.Part1 = Player.Character.LeftHand end)

the issue is that when i use the script, then trigger the proximityprompt it creates the weld it puts the weld in the right place but it doesn’t set part0 or part1

did u put parent to something?
could u show us a example?

nvm i solved it myself still thx for replies doe