Sanitized ID error

Module Script:

local c = {}

c.Enabled = true

-- ATTACKING MODULE --
c.AttackingEnabled = true
c.M11 = true
c.M11AnimID = 14682473508
c.M12 = true
c.M12AnimID = 14682477357
c.M13 = true
c.M13AnimID = 14682494899
c.M14 = true
c.M14AnimID = 14682498632

return c

localscript/client: (starterGUI)

local plr = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local config = require(game.ReplicatedStorage.CSConfig)
local count = 1

UIS.InputBegan:Connect(function(key)
	if key.KeyCode == Enum.KeyCode.E then
		if config and config.Enabled == true and config.AttackingEnabled == true then
			local hum = plr.Character:FindFirstChild("Humanoid")
			if hum then
				print("Hum found")
				if count == 1 and config.M11 == true and config.M11AnimID ~= "" then
					print("Hi")
					local animationId = config.M11AnimID
					local animation = Instance.new("Animation")
					animation.AnimationId = "rbxassetid://" .. animationId
					local track = hum:LoadAnimation(animation)
					track:Play()
					print("Animation ran")
				end
			end
		end
	end
end)

Output:

Hum found  -  Client - CombatClient:11
  12:54:01.835  Hi  -  Client - CombatClient:13
  12:54:01.836  Animation ran  -  Client - CombatClient:19
  12:54:01.914  Failed to load animation - sanitized ID: rbxassetid://4682473508 (x2)  -  Studio

Any ideas how to fix it? or is there no way?

1 Like

It’s a bug on Roblox’s side at the moment. Lots of people have been experiencing this issue.

Yea as mentioned above this is a Roblox error happening to many people I made this post which mentions even more posts. And no one has a solution until roblox fixes it

This worked for me, but try switching the ID to another AnimationID (preferably one you’ve used before in past projects), run the game and switch the ID back.

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