Help with animation
I want to add a mining animation to my game, I've made the animation and published it 100% correctly, now I'm trying to just have the player character play the animation not the dummy. I've watched tutorials and read about it and my code should be something like this
local PickaxeAnimation = script.PickaxeAnimation
local Humanoid = script.Parent.Humanoid
local animationTrack = Humanoid:LoadAnimation(PickaxeAnimation)
animationTrack:Play()
but the animation still isn't playing, I'm pretty sure the issue is with the Humanoid variable but I'm not sure where to direct it or anything as that wasn't shown in the tutorials
I've also attached screenshots of my explorer and where everything is. PLEASE HELP