Intro
Animify is a simple animation interface aimed to help games incorporate dances/poses with ease.
I originally made this for my game but decided to make this open-source.
Showcase
Also, you can visit the preview place to try it out for yourself.
Instructions
To begin, get the model here.
-
Step 1: Insert Animify into your game and parent it to
ReplicatedStorage
-
Step 2: Move the AnimationGui instance to
StarterGui
-
Step 3: Create a
LocalScript
underStarterPlayerScripts
Name it something you can remember as this will be the script you use to load Animify. -
Step 4: Paste the following code into the script you just created:
local replicatedStorage = game:GetService("ReplicatedStorage")
local animify = require(replicatedStorage:WaitForChild("Animify"))
repeat task.wait() until game:IsLoaded()
animify.refresh() -- loads animify
That’s all!
Adding/Removing Animations
Animify comes out of the box with 30 R15 animations, to add/remove your own animations there are two ways:
- First way: Using the API (Recommended)
local animify = require(replicatedStorage:WaitForChild("Animify")
animify.addAnimation("ElectroSuffle", 2890712423) -- anim name, anim id
local animify = require(replicatedStorage:WaitForChild("Animify")
animify.removeAnimation("ElectroSuffle") -- anim name
Note: Removing an animation that does not exist will throw a warning
Note: Using the same name as another animation will throw a warning.
Note: It doesn’t matter if Animify is already loaded, you can add and remove an animation whenever you want.
- Second way: Editing the module
UnderAnimify>External>list
you can add your own IDs and remove the default ones.
Other Functions
animify.openGui()
Opens the animation frame (if you’d like to use a custom toggle button, this function is useful)
animify.closeGui()
Closes the animation frame.
animify.getGuiState()
Returns the state of the animation gui, true if visible and false if not.