Sanitised ID error

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    the animations to play
  2. What is the issue? Include screenshots / videos if possible!
    Only in game NOT in roblox studio I get a warning sanitised ID on the only 2 animations I have and they wont play
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried making a new animation id TWICE and ive looked on the dev hib but nothing
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local Model = script.Parent
local Humanoid = Model:WaitForChild("Humanoid")
local HumanoidRootPart = Model:WaitForChild("HumanoidRootPart")

HumanoidRootPart.Velocity =, 196.2, 0)

HumanoidRootPart.CanCollide = false

local animationId = "rbxassetid://14817278792"

local animation ="Animation")
animation.Parent = script
animation.AnimationId = animationId

local animationTrack = Humanoid:LoadAnimation(animation)
animationTrack.Looped = true

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

I dont know if I made it clear already but while testing in roblox studio they work perfectly

This is a bug that has been reported. I am not sure when it will be fixed

1 Like