So i made a tool and i am using the qPerfectionWeld script to weld the pieces together.
to get the sword in the game you must buy it from the shop owner on a gui that copies the tool from replicated storage.
everything works fine in studio play, but when i take it to the real server only the handle is in my characters hand and the other part of the sword is like a mile away. HOWEVER, once i spawn again with the item, the sword is completely fine!
here is the damage script.. there is a part in the tool called 'Blade' which is just an invisible block used for the hitbox of the sword.
local findblade = script.Parent:WaitForChild('Blade') if findblade then script.Parent.Blade.Touched:connect(function(p) if script.Parent.canDamage.Value == true then script.Parent.canDamage.Value = false p.Parent.Humanoid:TakeDamage(20) end end) end
this is a normal script not a local script.
You need to weld other parts to the handle or use qPerfectionWeld script