Playing an animation in studio like Roblox Animation Editor?

My plugin “Custom NPC Maker” allows you to make your own NPC’s or import player’s characters, along with this it has a feature that allows you to import the NPC with an animation (for dynamic poses).

As of right now, they import with the pose, but in order to do this I use game:GetService('RunService'):Run(). The issue with this is that it runs the whole game instance, and can destroy people’s places if they have unanchored parts.

Roblox’s Animation Editor is able to play animations safely without this issue. How could I go about doing this?

Here is what happens:
com-crop

Maybe I’m missing something but why not just Humanoid:LoadAnimation(anim):Play() to play an existing animation?

That doesn’t work in-studio.

Doesn’t the animation editor warn you not to use it in a game with moving parts or scripts in it?

If it doesn’t, you could try animating it with CFrame somehow.

1 Like

I tested it with floating unanchored parts and it leaves them unaffected, so maybe they’re using CFrame.

im pretty sure they use some sort of thing that puts studio into “Run” mode, and then plays the animation.

1 Like

smile

The animation editor does warn you.

2 Likes

Hmm, so I guess it’s not possible.