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

How do I play an animation from the catalog on my character?

Asked by
trecept 367 Moderation Voter
5 years ago

I've tried multiple methods like changing the IDs of animations under the animate script and other solutions but nothing works. Is there any simple way I can change the default roblox animations on a character in a game to another animation I can pick by roblox from the catalog (e.g ninja animation) through a script?

0
http://wiki.roblox.com/index.php?title=Animations Quote "Note that at the moment Roblox does not support sharing animations, so you will have to replace the animation ID with one you have made yourself." sleazel 1287 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Animation Sharing

BY YOU Any animation you create will be able to be used in your personal places as well as any group places in which you are the owner of the Group

BY USER Any animation created by another user cannot be played in a place where you are not the original owner of the Asset

BY ROBLOX These are defaulted and can be played by any user (you might need to own the asset though)

For Animations by ROBLOX, if you use a Test Server in Studio, you can copy the "Animation" LocalScript in the player, then paste it to StarterPlayer --> StarterCharacterScripts

This script will override the ROBLOX default Animation script.

Editing the Animation: Under the Animation LocalScript are a set of string values for asset ids, change these to the corresponding Animation. Inside the Animation script is also a list of Asset Ids which are labeled and which you will need to change.

Another option based on the first choice, is to upload your own custom animation or import / load the other user's animation in the animation editor then export it to your own animation (essentially copying the anim).

Ad

Answer this question