Some animations I have won't load. This is an example of an animation. I put it in the StarterGear and it's supposed to give you 2 money every time it plays-- the error isn't in that part, since I removed the adding money part and it still didn't load.
I even tried adding a wait-- still the same problem.
A LocalScript inside the animation:
repeat wait() until game.Players.LocalPlayer.Character ~= nil
local moneyModule = require(game:GetService("ReplicatedStorage").Modules:WaitForChild("addMoneyModule"))
anim = script.Parent.Animation
tool = script.Parent
p = tool.Parent.Parent
mouse = p:GetMouse()
c = p.Character
LoadAnim = c.Humanoid:LoadAnimation(anim)
debounce = false
CoolDown = 0
function PlayAnim()
LoadAnim:Play()
wait(CoolDown)
moneyModule.addMoney(script.Parent.addMoneyAmount, game.Players.LocalPlayer)
debounce = false
end
function OnSelect(mouse)
mouse.Button1Down:connect(function()
if debounce == false then
debounce = true
PlayAnim()
end
end)
end
tool.Selected:connect(OnSelect)
STILL UNANSWERED, R6 IS ENABLED INGAME BECAUSE THESE ARE R6 ANIMATIONS!

13 comments
What does the error say?
19:27:21.141 - Animation "https://www.roblox.com//asset/?id=1342707918&serverplaceid=0" failed to load in "Players.Vid_eo.Backpack.BDBB.Animation.AnimationId": Animation failed to load
Are you using team create with a friend?
Yes. He gave me the animations. I'm the owner of the game, though. It also won't work in game as I said before
(and it won't work in studio)
What do you mean by he gave you the animations?
He owns the animations then pasted them into the StarterPack.
Since you are the owner, you have to own the animation for it to play on your game. You can try taking the animation and putting it into the animation editor and then uploading it for yourself.
Alright, thanks.
no problem, It can be a real pain to share animations in Roblox unfortunately :(
how would I put the animation into the animation editor if I don't own it? thanks
name of your animation?
wdym?