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

Why isn't my animation for my move loading?

My animation isn't loading for anything i do, the script looks correct and all but i don't know why its not working. I keep getting the same error message: "08:55:58.450 - Animation "https://www.roblox.com//asset/?id=2606327314&serverplaceid=0" failed to load in "Animation.AnimationId": Animation failed to load" Please help.~~~~~~~~~~~~~~~~~


wait(1)
local Module = require(script.Parent)
Module.IceSpikes()

--[[wait(1)
---- Services ----
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerStorage = game:GetService("ServerStorage")
local UserInputService  = game:GetService("UserInputService")

---- Variabled ----
local PlayerLocal	 = ReplicatedStorage:WaitForChild("PlayerStuff")
local RS			 = PlayerLocal:WaitForChild("Remotes")
local QuirkR		 = RS:WaitForChild("Quirk")
local DarkShadowS	 = QuirkR:WaitForChild("Ice")
local Remote		 = DarkShadowS:WaitForChild("IceSpikes")
local GS = ServerStorage:WaitForChild("GameStorage")
local QuirkObj = GS:WaitForChild("QuirkObjects")
local POS = QuirkObj:WaitForChild("Ice")
local PM = POS:WaitForChild("Models")
local Particles = POS:WaitForChild("Particles")
local UnClonedSpikes = PM:WaitForChild("IceSpikes")
local UnIce = Particles:WaitForChild("Ice")
local UnSmoke = Particles:WaitForChild("SmokeParticle")
local Scripts = ReplicatedStorage:WaitForChild("Scripts")
local ModuleScripts = Scripts:WaitForChild("ModuleScripts")
local ScriptStore = ModuleScripts:WaitForChild("ScriptStorage")
local BasicScripts = ScriptStore:WaitForChild("BasicScripts")
local DamageModule = require(BasicScripts:WaitForChild("BasicDamage"))

local Module = require(ReplicatedStorage:FindFirstChild("CommonCode",true))
local PlayerStuff = ReplicatedStorage:WaitForChild("PlayerStuff")
local Remotes = PlayerStuff:WaitForChild("Remotes")
local Basic = Remotes:WaitForChild("Basic")
local GuiR = Basic:WaitForChild("Gui")
local CoolRemote = GuiR:WaitForChild("CooldownRemote")

local StartTick = tick()

local CoolTable = {
	
	
	
	}



local function IceTurnVisible(Model)
	local Coroutine = coroutine.wrap(function()
		local Part1 = Model:FindFirstChild("In")
		local Part2 = Model:FindFirstChild("Out")
	wait(.25)
		for i = 1,25 do
			Part1.Transparency = Part1.Transparency - .04
			Part2.Transparency = Part2.Transparency - .022
			wait(.005)
			
		end
		
		
		
		
	end)
	Coroutine()
end



local function IceTurnInVisible(Model)
	local Coroutine = coroutine.wrap(function()
		local Part1 = Model:FindFirstChild("In")
		local Part2 = Model:FindFirstChild("Out")
	wait(1.6)
		for i = 1,25 do
			Part1.Transparency = Part1.Transparency + .04
			Part2.Transparency = Part2.Transparency + .02
			wait(.001)
			
		end
		
		
		
		
	end)
	Coroutine()
end



















--rbxassetid://2786869507
Remote.OnServerEvent:Connect(function(Player)
local leaderstats	 = Player:WaitForChild("leaderstats")
local Skill			 = leaderstats:WaitForChild("????????????????????")
local Quirk			 = leaderstats:WaitForChild("????????????????????")

local BackPack = Player:WaitForChild("Backpack")
local Storage = BackPack:WaitForChild("Storage")
local IceStore = Storage:WaitForChild("Ice")
local Configs = IceStore:WaitForChild("Configuration")
local UsingMove = Configs:WaitForChild("UsingMove")


	if Skill.Value < 75 or Quirk.Value ~= "Ice" then return end 
	
	
	if CoolTable[Player.Name] == true then return end


CoolTable[Player.Name] = true
	
	
	
	
	
	
	
	
	
	
	
	print(Player.Name.." Used Ice Spikes ")
	print("Time of use: ".. math.floor(tick()- StartTick) )
	
	local Character		 = Player.Character
	local RootPart		 = Character.HumanoidRootPart
	local DebrisFolder	 = workspace:FindFirstChild("DebrisFolder") or Instance.new("Folder",workspace)
	DebrisFolder.Name	 = "DebrisFolder"
	local Spikes		 = UnClonedSpikes:Clone()
	Spikes.Parent		 = Character
	local SRootPart		 = Spikes.FakeRoot

	local IceGround = Spikes:WaitForChild("Ground_Ice")
	




	local Animation			 = Instance.new("Animation")
	Animation.AnimationId	 = "rbxassetid://3819621937"
	local LoadAnimation		 = Character.Humanoid:LoadAnimation(Animation)
	LoadAnimation:Play()
	
	
	local StayStill		 = Instance.new("BodyVelocity")
	StayStill.MaxForce	 = Vector3.new(4000000000,4000000000,4000000000)
	StayStill.Velocity	 = RootPart.CFrame.LookVector * .001
	StayStill.Parent	 = RootPart
	game.Debris:AddItem(StayStill,1)
	
local Rep = game.ReplicatedStorage
local Store = Rep:WaitForChild("PlayerStuff")
local Remote2 = Store:FindFirstChild("ShakeEvent",true)
local Remote2 = Store:FindFirstChild("ShakeEvent",true)
Remote2:FireClient(Player, "RoughDriving")
	
	local Sound = Instance.new("Sound")
	Sound.SoundId = "rbxassetid://2772279139"
	Sound.Parent = RootPart
	Sound.PlaybackSpeed = 1
	Sound.MaxDistance = 200
	Sound.Volume = 5
	Sound:Play()
	game.Debris:AddItem(Sound,5)
	

	wait(.1)
	
	--Spikes--
	Spikes:SetPrimaryPartCFrame(RootPart.CFrame)
	IceGround:SetPrimaryPartCFrame(IceGround.In.CFrame * CFrame.new(0,-1.45,0))
	IceTurnVisible(IceGround)
	
	
	SRootPart.Anchored = true
	game.Debris:AddItem(Spikes,1.9)
	
local MakeParticles = coroutine.wrap(function()
	local ParticlePart = Instance.new("Part",DebrisFolder)
	ParticlePart.Name = "ParticlePart"
	ParticlePart.Transparency = 1
	ParticlePart.BrickColor = BrickColor.new("Really red")
	ParticlePart.Anchored = true
	ParticlePart.CanCollide = false
    ParticlePart.CFrame = RootPart.CFrame * CFrame.new(0,-2,-20)
	ParticlePart.Size = Vector3.new(10.2, 0.75, 35.3)
	game.Debris:AddItem(ParticlePart,4)
	local Ice = UnIce:Clone()
	local Smoke = UnSmoke:Clone()
	Ice.Parent = ParticlePart
	Smoke.Parent = ParticlePart
	wait(1.9)
	Smoke.Enabled = false
	Ice.Enabled = false
	
end)
IceTurnInVisible(IceGround)
MakeParticles()
	
	
local Hitppl = {
	
	
}
local BeenHit


wait(.05)
Spikes.Hitbox.Touched:Connect(function(hit)
	if not hit.Parent:FindFirstChild("Humanoid") or hit.Parent.Parent:FindFirstChild("Humanoid")  then return end
		if hit.Parent.Name ~= Character.Name then
          for i,v in pairs(Hitppl) do
			if v == hit.Parent.Name then
				BeenHit = true
			end
		end
			
           
			if BeenHit ~= true then
			table.insert(Hitppl,hit.Parent.Name)   ---- Hit Effects Here
			DamageModule.BasicDamage(hit.Parent:FindFirstChild("Humanoid"),(Skill.Value * 1) + 10,Player.Name)

			end
			BeenHit = false
	end	
end)

	CoolRemote:FireClient(Player,"Z",10)
	wait(12)
	CoolTable[Player.Name] = false
	
	
	
	
end)--]]

3 comments

0

is it yours

0

Do you own the asset? Are you in team create? Try reuploading it.

0

yeah i just made it, i still have the dummy

1 answer

Hello there. @KingKazama0718.

This problem occurs when an animation is not parented to the corresponding profile or group that owns the animation, as animations are required to be published to work, you need to publish the animation to your profile if the game is under your profile, else if its under a group publish it to the group, also please change your ids to the new ids of the ones you published.

Thanks so much and I hope I helped you!

1 comment

0

i have, but it still doesn’t work

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