Animation
An object that references an animation asset (AnimationId) which can be loaded by an AnimationController.
Loading an Animation on Client or Server
In order for AnimationTracks to replicate correctly, it's important to know when they should be loaded on the client or on the server:
If an Animator is a descendant of a Humanoid or AnimationController in a player's Player.Character, animations started on that player's client will be replicated to the server and other clients.
If the Animator is not a descendant of a player character, its animations must be loaded and started on the server to replicate.
The Animator object must be initially created on the server and replicated to clients for animation replication to work at all. If an Animator is created locally, then AnimationTracks loaded with that Animator will not replicate.
See also Animation Editor and Using Animations to learn how to create and add pre-built or custom animations to your game.
Summary
Properties
Asset ID of the animation an Animation object is referencing.
Properties
AnimationId
This property is the asset ID of the animation an Animation object is referencing. Once an animation has been created and uploaded to Roblox, the ID can be copied from the Creator Dashboard.
Note that the animation will need to be loaded onto an AnimationTrack in order to play it.