Animation on tool activation does not work

I first want to create a basis for an airstrike tool in which it plays sounds (it does), and it completes corresponding animations, on click.
However, I had followed up on a tutorial and the shown method is not functional in my code for some reason? Can someone analyze the issue? Much appreciation
Variables and code/tool below
image
image
image

this is a local script?
30 my displaynames

what property does the animation have because if it has “Core” (i think) property the animation will be stopped by any other animation. ex. the idle animation, walk animation, tool holding animation. make sure u set it to “Action”

The script is a server script, I also have the priority set on action, unlooped

game.Players.Localplayer don’t working in server scripts. try to get player by remote event

  1. Create it
  2. in local script:
    script.Parent.RemoteEvent:FireServer(game.Players.LocalPlayer)
  3. in server script:
    local Player = nil
    script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr)
    Player = plr
    end)



My intended code to be read was the AnimationTrack, does the player variable affect that?