Ok, you must not know much about animation or scripting cause this is very simple. Anyway when scripting a animation you always have to load it. Such as:
In this script I'm assuming you already have the Player set as a variable
1 | local anim 1 = script.Parent.EquipAnimation |
2 | local anim 2 = Player.Character.Humanoid:LoadAnimation(anim 1 ) |
This script is basically getting the animation. Once got it loaded it into your humanoid. Then Plays it. Now lets imply this into your script. And i will assuming you already have the correct variables.
1 | local tool = script.Parent.Parent.Parent.M 16 A 4 |
2 | local anim 1 = script.Parent.EquipAnimation |
4 | tool.Equipped:Connect( function () |
5 | local anim 2 = Player.Character.Humanoid:LoadAnimation(anim 1 ) |
If this helped you please give it a answeared thingy
Regards, Bl_ueHistory