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

Animation only loops on client (player)?

Asked by
Oficcer_F 207 Moderation Voter
5 years ago

Link to gif: https://gyazo.com/089c0e98a168e387fbfb21228157fd7e

holAnimation = Instance.new("Animation")
holAnimation.AnimationId = "http://www.roblox.com/asset/?id=2590113447"
playerHoldAnim = humanoid:LoadAnimation(holAnimation)

playerHoldAnim.Looped = true

tool.CanBeDropped = false
tool.RequiresHandle = false
debounce = false
uis = game:GetService("UserInputService")
tool.Equipped:Connect(function(mouse)
    playerHoldAnim:Play()

--nothing more important

The animation only plays on my screen (client), but for the first 3 secons (the animation is 3 seconds long) it plays on the server too. That leads me to believe that the animation isn't looped for other players...

Please help, thanks!

0
If this is a local script, then maybe you haven't set Looped true on the tool on the server. LawlR 182 — 5y
0
Tried running a test server and testing it there? Amiaa16 3227 — 5y
0
Try setting the loop on the server? Maybe it doesn’t replicate to the server. Not sure if I’m right though. User#20279 0 — 5y
0
is FilteringEnabled on? if so, then the loop may not be replicating to the server fanofpixels 718 — 5y
View all comments (2 more)
0
You'll have to set Looped on a server script or you can do it manually in the animation editor hellmatic 1523 — 5y
0
Hey guys, the loop is set on a local script, and the game is filtering enabled. And there is no looped property on the new animation editor. Oficcer_F 207 — 5y

Answer this question