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
To disable filtering enabled feature go to Workspace and in the property list find Filtering Enabled and if it is set to True please turn it off by clicking the check box to the right of its name. Thank you.