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

Why is my animation not replicated to the clients?

Asked by
yoyyo75 74
4 years ago

So I have a script where I just simply want to run my animation, the animation is a group asset and I can see it when I go to group creations. In my place there are a bunch of dummies on display under workspace and each of them has this script:

hum = script.Parent.Humanoid
anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://3998315161"
animTrack = hum:LoadAnimation(anim)
animTrack:Play()

The animation ID is different for all them and I press the play button (green arrow) it works fine and they are all animating but when I press the play solo button, Most of them aren't animating but it shows no error. I check the server side of the play solo feature and it turns out they are animating for the server and it just doesn't replicate to the client. Here is an image for reference

Why does this happen and how do I guarantee that all animations are playing ?

0
When you run the scripts all of the animations work fine, but just not when you test? ExHydraboy 30 — 4y
0
Maybe try not playing solo but simply playing as playing solo may not allow network communication. Just remember that you have to be online to play Roblox animations ExHydraboy 30 — 4y
0
Yeah it doesn't work when I test. But when I also try to enter my place to test, it is not animating. yoyyo75 74 — 4y
0
Okay so another thing weird: when the script is just like that most of the animations don't work right? But when I added follow functions and if they are in a certain range then do the animation it animates. But I still want to display the animations.... I just added more to the script and it worked but I still want it to work on display yoyyo75 74 — 4y

1 answer

Log in to vote
0
Answered by
yoyyo75 74
4 years ago

animations with loop true on server don't replicate

Ad

Answer this question