LoadAnimation (Method)

From Legacy Roblox Wiki
Revision as of 04:44, 27 April 2023 by Realjame (talk | contribs) (Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
LoadAnimation( Animation animation )
Returns Instance
Description: This can be used to load an animation into the Humanoid as a variable.
Member of: Humanoid


Example

Used to make a Humanoid act out an animation.

example=Humanoid:LoadAnimation(script.Parent.AnAnimation)
example:Play()