Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Animation failing to load, not playing in my character keeps failing why?

why do i keep getting this error: 14:33:46.920 - Animation "https://assetdelivery.roblox.com/v1/asset?id=5558694864&serverplaceid=0" failed to load in "Players.BobTheBuilderRik.PlayerGui.floor loop.AnimationId": Animation failed to load I tried changing the characters character to r6 or r15. Eitheir didnt work. Here is a local script.

local anim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent["floor loop"])
anim:Play()

Is this a roblox bug or is it something im messing up?

1 answer

The reason why it doesn’t work is because Char is not a valid member of workspace and the animation is set to a specific Rig type. Here is a script that might help you out, and be sure to set everyone’s Rig Type in game settings to the Rig Type that your friend uses (the working one):

game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
script.Parent.BeansEatEvent.OnServerEvent:Connect(function()
local anim = char.Humanoid:LoadAnimation(script.Parent.BeansEat)
anim:Play()
end)
end)
end)

Edit: I apologize for not formatting as I am typing on mobile.

This discussion is preserved as it was. New answers, comments, and votes are closed.