Hello there, i'm sorry i can't write the entire tutorial here since it has a 10,000 Characters limit
I have however ported it to Pastebin raw
It may not look neat so read it as comfortable as you are.
The Pastebin
it is a entire tutorial to your problem and many others have fun
01 | local Tool = script.Parent |
03 | WeldName = "RightMotor6DGrip" |
05 | function Tool_Equipped(M) |
07 | plr_char = script.Parent.Parent |
08 | Right_Arm = plr_char:FindFirstChild( "Right Arm" ) |
09 | Right_GripW = Right_Arm:WaitForChild( "RightGrip" , 2 ) |
10 | Right_Weld = Instance.new( "Motor6D" ) |
11 | Right_Weld.Part 0 = Right_GripW.Part 0 |
12 | Right_Weld.Part 1 = Right_GripW.Part 1 |
13 | Right_Weld.C 0 = Right_GripW.C 0 |
14 | Right_Weld.C 1 = Right_GripW.C 1 |
15 | Right_Weld.Parent = Right_Arm |
16 | Right_Weld.Name = WeldName |
20 | function Tool_Unequip() |
27 | Tool.Equipped:connect(Tool_Equipped) |
29 | Tool.Unequipped:connect(Tool_Unequip) |
Peace out <3