local changeAni = game.ReplicatedStorage.ChangeAnimation
local ani = workspace.Model1:WaitForChild(“Rig”).Animation
local humanoid = workspace.Model1:WaitForChild(“Rig”).Humanoid
changeAni.OnServerEvent:Connect(function(plr,ContentText)
ani.AnimationId = “rbxassetid://”…ContentText
wait(1)
local emote = humanoid:LoadAnimation(ani)
emote:Play()
end) I want the animation to play once someone changes the animation ID. The Event sends the ID to be played but I get this error:Failed to load animation - sanitized ID: rbxassetid://510235063
I believe Sanitized ID error is caused because you’re trying to import an animation that either doesn’t exist or is not in your inventory. You must publish an animation as your own inorder to use it for any project, if I’m wrong please let me know!
You can use some from the toolbox or marketplace, but you would just have to remember to publish it as your own. To publish something, right click the animation you’d like to publish and find ‘Publish To Roblox’