Hello, I am trying to make a script were a claw summons and gets welded onto the players hand. Here is what I tried to do.
event.OnServerEvent:Connect(function(player, damage) local claw = script.Claw:Clone() claw.Parent = game.Workspace local weld = Instance.new("WeldConstraint") weld.Part0 = player.Character.RightHand weld.Part1 = claw weld.Parent = claw end)
The problem that I am having is that the claw is not visible even though its parented to workspace and its transparency is 0. And another problem that I am having is that the claw makes my character glitch and no longer be able to move.
How do I fix this? Thank you for your time!
Try reversing the weld order, for example on line 5, instead of putting weld.Part0 = player.Character.RightHand, put weld.Part0 = claw and same with weld.Part1. It should look like this:
weld.Part0 = claw weld.Part1 = player.Character.RightHand