Hello devs! so i made an animation with a skinned mesh and i found a youtube tutorial on how to make it play but it wont work can anyone help?
local animation = script:WaitForChild('Rawr')
local humanoid = script.Parent:WaitForChild('Humanoid').Animator
local rawr = humanoid:LoadAnimation(animation)
while true do
wait(math.random(1,5))
rawr:Play()
rawr.Looped = false
if rawr.IsPlaying then
print("YA")
end
end
heres the script
the weird part is that it print “YA” in the output but doesnt visually load the animation does anyone know how to fix this?
heres a screenshot of the models properties
if someone could respond with help that would be great