I have a death effect and sometimes it works but sometimes it doesn’t. I don’t understand why?
Failed to load animation with sanitized ID rbxassetid://18661047774: Animation failed to load
I have a death effect and sometimes it works but sometimes it doesn’t. I don’t understand why?
Failed to load animation with sanitized ID rbxassetid://18661047774: Animation failed to load
it just doesnt load the animation in time, nothing to worry but very annoying
Thanks, I’m not sure it is that because whever I just test it in studio it works perfectly but whenever I go in game it doesn’t ever work. So i think something else might be an issue
game.ReplicatedStorage.DiedRE.OnServerEvent:Connect(function(plr,animation)
if not plr.Character or not plr.Character:FindFirstChild("Humanoid") then return end
local char = plr.Character
local humanoid = char.Humanoid
char.HumanoidRootPart.Anchored = true
local animator = humanoid:WaitForChild("Animator")
local kickAnimationTrack = nil
kickAnimationTrack = animator:LoadAnimation(animation)
task.wait(0.1)
kickAnimationTrack:Play()
kickAnimationTrack.Stopped:Connect(function()
plr:LoadCharacter()
end)
end)
It means that you don’t have access to the animation ID, is this animation ID made by someone else? If so, they need to upload their animation ID to the group game so that you can use it.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.