I don't know why but my gun animations (I made them) load fine into studio and run fine on objects. But in the game, they dont load at all. I am also grabbing the anims from a modulescript located in ReplicatedStorage
self.animc = ins("AnimationController")
self.animc.Parent = self.model
self.loadedanims = {}
local function loadanim(animationid)
local animation = ins("Animation")
animation.Parent = self.animc
animation.AnimationId = animationid
return self.animc:LoadAnimation(animation)
end
if self.anims then
for i, v in next, self.animations, nil do
if self.anims[i] then
local OOFUS = loadanim(self.anims[i])
self.loadedanims[i] = OOFUS
self.animations[i] = OOFUS
end
end
end

7 comments
Are you working in team create or in a group game?
Group game.
what is self?
self is the gun.
Is this script a LocalScript? What is it's parent?
This is in a localscript, this is in startercharacter scripts, its for my FPS Framework.
probably a filtering enabled