Moon Animator Assistance

I need quick help with moon animator, any help is greatly appreciated

  1. I simply need help with repeating an animation forever. I do not want the animation to stop at all

  2. I just need the animation to loop

  3. I need your help, I don’t have a current solution.

If you have any ideas, or a script, or any tips. Please let me know I just need to make my animation loop. Thanks!

A simple loop is

while true do
-- stuff
end

For your case, assuming you have some frames, you could do something like this:

while true do
    --put image 1 here
    wait(1) -- waits 1 second before the next frame
    --put image 2 here
    wait(1)
    --image 3
    wait(1)
end

And keep on going for however many frames you want. You could also do something like this, which may be easier to add, but it does the exact same thing:

local frames = {
    "frame 1",
    "frame 2",
    "frame 3"
}

while true do
    for i,v in pairs(frames) do
        --[[your image]] = v
        wait(1)--however long you want between frames
    end
end
1 Like

So how exactly do I add the moon animation to the explorer tab, then insert this script under? Do I have to export the animation?

I’m not sure. Is your moon a mesh, a billboardgui, a decal…?

Nono I think you misunderstood. I am using moon animator. The animation plugin. I already created an animation, and I am trying to loop the animation endlessly.

Ohhh, my apologies. I will look into that plugin and update you.

1 Like

Appreciate the help, thanks a lot so far.

1 Like

Can’t seem to figure out the plugin, do you know if it creates an animation instance, or if you could attach a model with the animation in it?

1 Like

Basically in moon animator, you click, new animation, then you click on item, then select the item on your baseplate that you want to animate. If you used the moon animator character inserter, it already rigged it for you so you can pose and add or remove keyframes for the animation. I can click, “insert part” then select it in moon animator and animate it to move around by pressing space. I just need to figure out how to loop the animation.

1 Like

This is pretty confusing to me, I can’t seem to get it to export as an animation. I might not be able to help you, sorry.

1 Like

Its Okay, you tried, I appreciate you! Thanks.

2 Likes