Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My animations load in studio, but not in a live game server?

Asked by 6 years ago
Edited 6 years ago

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
0
Are you working in team create or in a group game? User#20388 0 — 6y
0
Group game. The_MRAP 4 — 6y
0
what is self? dareveloper 9 — 6y
0
self is the gun. The_MRAP 4 — 6y
View all comments (3 more)
0
Is this script a LocalScript? What is it's parent? hellmatic 1523 — 6y
0
This is in a localscript, this is in startercharacter scripts, its for my FPS Framework. The_MRAP 4 — 6y
0
probably a filtering enabled policopi 37 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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.

0
Why would you disable filtering enabled? Not only can animations be played from the client with filtering enabled but disabling the feature would be a terrible solution anyways. Filtering Enabled should be used for all games, and problems because of it should be solved by using server-client communication like RemoteEvents, not disabling it. FrogNinjaX 222 — 6y
Ad

Answer this question