Here is the script for the local script:
03 | local Tool = script.Parent |
04 | local AnimationId = Tool.AnimationId.Value |
05 | local Player = game.Players.LocalPlayer |
06 | local Character = Player.Character or Player.CharacterAdded:Wait() |
07 | local Humanoid = Character:WaitForChild( "Humanoid" ) |
09 | local Animation = Instance.new( "Animation" ) |
11 | Animation.Parent = Humanoid |
12 | Tool.Activated:Connect( function () |
13 | local Anim = Humanoid:LoadAnimation(Animation) |
Now, for that weld you saw thats for the weld for the handle to make sure it's in place if you wanna get it here is the link.
https://www.roblox.com/library/1065742801/qPerfectionWeld
Now, to the Animotion ID for it you see that Animation Id Vaule?
https://gyazo.com/be0a31530331ce229ee7fa030bb9ecbb
Click with your right mouse and click IntValue and name it AnimationId.
and when you click it. You will see the properties here.
https://gyazo.com/0b0425d1623d72dd35d947679d7be53a
Now you will see the Value put the id for the Animation you wanna add like this
https://gyazo.com/3b614fca7faf81bd39e3bcb8105f5228
https://gyazo.com/a563ca4da28ced826532ffef2da81b54
And there you will see those numbers make sure you copy and paste them in the value. and there you go you did a good job!
-dog6779
-P.S hope this works! if not why not reply this answer and I will able to help.