I have a local script inside a tool. In the same hierarchy level is the handle and animation. For some reason the animation won't play when the tool is used. I tested this exact code from a local script in the StarterGui, but with uis, and it worked just fine. The animation prints Play, then Stop, but does nothing. No errors. Any help is greatly appreciated.
script.Parent.Activated:Connect(function()
local animation = script.Parent.Eat
local track = game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):LoadAnimation(animation)
print('Start')
track:Play()
wait(1)
track:Stop()
print('Stop')
end)

3 comments
The priority may be lower than the Default tool holding animación maybe¿
probably, know a way to fix it...
Says the priority is Action, highest, though