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

How would i get this animation to permanently loop?

Asked by
CDXKIE 130
3 years ago

i have a script that is supposed to make an animation permanently play on the zombie, but it doesnt work. In the animation editor i have set looped to true, and i have tried putting the animation:Play() in a while true do loop. Here is the script:~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~local ZombieAnimation = script.ZombieAnimation local char = workspace.ZombieDoor.ZombieDecor

local AnimationTrack = char.Humanoid:LoadAnimation(ZombieAnimation)

AnimationTrack:Play()

1 answer

Log in to vote
0
Answered by 3 years ago
AnimationTrack.Looped = true
0
Is the animation like looped from its properties? andioopmyson12 23 — 3y
0
No, is that the problem? CDXKIE 130 — 3y
0
yeah that was 100% the problem, embarrasing CDXKIE 130 — 3y
Ad

Answer this question