Ok so im making a custom character and im adding animations into it but when i test the game the output gives me this error Failed to load animation - sanitized ID: rbxassetid://4730823780
this is my script
There’s nothing wrong with your script, I’ve been experiencing this error as well. So have many other scripters. It think it’s just a studio bug, I’m currently looking into what it is and how to fix it.
This should work?
local character = script.Parent
local humanoid = character:WaitForChild(“Humanoid”)
local walkAnim = script:WaitForChild(“Walk”)
local walkAnimTrack = humanoid.Animator:LoadAnimation(walkAnim)
humanoid.Running:Connect(function(speed)
if speed > 0 then
if not walkAnimTrack.IsPlaying then
walkAnimTrack:Play()
end
else
if walkAnimTrack.IsPlaying then
walkAnimTrack:Stop()
end
end
end)
It probably should, but did you make the animation. Im just wondering if roblox allows you to use other peoples animation and is the ID animation correct?