[MODULE SCRIPT] Moon Animator 2 Cutscene Support Module

[MODULE SCRIPT] Moon Animator 2 Cutscene Support Module

Hello Roblox developers,

I’m excited to share a new module I’ve created that extends the functionality of Moon Animator 2 for use in cutscenes. While Moon Animator 2 already allows you to export animations for in-game use, it doesn’t support animating multiple objects or characters simultaneously in a game environment. This is where my module comes in!

Demonstration:


How it looks in plugin ↑

How it looks in game ↑


Features:

  • Animate multiple objects or characters at once, perfect for creating dynamic and complex cutscenes.
  • Frame-by-frame control, allowing precise control over animation timing.
  • Looping and playback management, enabling seamless animation flow.
  • Simple API to start, stop, update, and reset animations.

API Overview:

Here’s a brief look at the core functions provided by the module:

new(MoonAnimatorAnimation : StringValue, FrameRate : number) -> AnimatorBase – Initializes the animator with a Moon Animator animation and sets the frame rate.
Start() – Starts the animation playback.
Stop() – Stops the animation.
SetFrame(Frame : number) – Moves the animation to a specific frame.
GetFrame() -> Frame : number – Returns the current frame of the animation.
Destroy() – Cleans up the animator once the animation is no longer needed.

Each animation object is fully customizable and supports timelines for property animation, giving developers the ability to manipulate specific properties of objects frame-by-frame.

Why use this?

This module is particularly useful for those creating cinematic cutscenes in Roblox.
Feel free to check it out and let me know what you think! You are free to use/modify it.

Demo place - MoonAnimator2Players_Showcase.rbxl (125.9 KB)
Asset - Link

10 Likes

This is a lifesaver thanks for making this :slight_smile:

You’re welcome! I am glad that this module will help you.