EDIT: I have fixed my problem. I just took crazyman32's autoweld script and modified it to weld the tool when equipped. It works nicely. Lol.
I'm currently making a gun, and it's going surprisingly well. Only probelm is that the welds just keep breaking when I unequip/equip the tool. I acknowledge the fact that you need to re-weld it every time you unequip/equip it, so I used MakeJoints(), but it's not working.
Here is the script. If you need any more information, feel free to ask me.
function Weld() parts = tool:GetChildren() for i,v in ipairs(parts)do if v:IsA("BasePart") then v:MakeJoints() end end end tool.Equipped:connect(Weld) --
Thank you very much!
Locked by MrNicNac
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?