Hi there, scripters! I'm having a problem with a weld (that is created through Instance) in my game. When you equip a tool, a weld is created, where Part0 is the player's torso and Part1 is the player's left arm. Once the tool is unequipped, this weld is deleted, and the player's left arm naturally positions itself to its former position. When tested on a server, the weld accordingly works, but the player's left arm falls into the ground. Any help is appreciated, thanks!
In case you need the script, here it is (it's server-sided):
function script.Parent.WeldArm.OnServerInvoke(player,equipped,position,angles) if equipped == true then local weld = Instance.new("Weld") weld.Part0 = player.Character.Torso weld.Parent = player.Character.Torso weld.Part1 = player.Character:FindFirstChild("Left Arm") weld.C1 = position * angles else if equipped == false then player.Character.Torso:FindFirstChild("Weld"):Destroy() end end end