My Skinned mesh's Animation wont play when i join the game

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

Screenshot 2023-12-14 183806

if someone could respond with help that would be great

@Katrist can u tell me whats wrong?

oh, i’m sorry, I saw it late
you should delete AnimationController

ok lemme try that and if it doesnt work what should i do

if it doesn’t work, recommend using Roblox’s default animations. with change animation Id

i fixed it by deleting humanoid

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.