Animation script not working please help

I made a mesh animation for one of my custom made tail, but whenever I go in game It doesn’t show the animation playing even in the studio it doesn’t show. the problem is the script the animation is fine and is under my account it’s just the script not working.
How can i fix this problem?
this is the tail and the stuff in it
https://gyazo.com/4cce777abd33b31ea540a03f3e91d816

local Animator = script.Parent:WaitForChild("AnimationController").Animator
local wag = Animator:LoadAnimation(script:FindFirstChildOfClass("Animation")) 

wag:Play()