I have been trying to get an animation to play on a rig that’s attached onto a character. But it doesn’t replicate over to the server-side, no matter if I load it from the server or the client. On the client it works just fine, but when I use the server-sided camera it doesnt.
Client View:
Server View:
After I noticed it doesn’t load from the client, I tried to load it from the server, but it doesn’t work as well.
I tried tying everything to remote events, it doesn’t work. I also tried to make it into a module script where it loads from there, but it still doesn’t work.
I’ve also looked up some solutions on the Dev Forum, all of those I’ve tried didn’t work.
This is the current ServerScript:
--blablabla
Instance.new("Animator", Stand.AnimationController)
local MainModule = require(script.Parent.mainmodule)
local Anims = require(script.Parent.mainmodule).Anims
--blablabla
Anims[1]:Play()
--blablabla
Anims[1]:Stop()
--blablabla
The Current Module Script:
wait(.1)
local Stand = script.Parent.Stand
local Plr = script.Parent.Parent.Parent
local Chr = script.Parent.Parent.Parent.Character
local module = {}
function module.TweenFunc(instance, Info, Goal)
game.TweenService:Create(instance, Info, Goal):Play()
end
module.Anims = {
[1] = Stand.AnimationController:LoadAnimation(script.Parent.Animations.Idle)
}
return module
The entire thing is server-sided, so I’m not sure what’s going on with it.
[!] The Rig is a model inside the Character Model:
[!] The method of the Stand being bounded onto the character is through a weld. (I manipulate its C0 to move its position from the character.)
[!] The :Play() functions are being called from the server, as well.
[!] The entire thing is tool based, the animations are being loaded from a folder inside the tool:
I appreciate any kinds of help or discussions towards my problem!