I want my script so it plays the animation inside of it but it does not and does not give an error print on output. My script so far
local char = script.Parent
local hum = char:WaitForChild("Humanoid")
local animation = hum:LoadAnimation(script.Animation)
wait(5)
if char ~= nil then
animation:Play()
end
I do not know the problem, explain pls!

3 comments
This might be caused the the animation priority https://developer.roblox.com/api-reference/enum/AnimationPriority
Where is this located, and is it a local or server script?
it is located in the animation plugin