LoadAnimation (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
m Text replacement - "</code>" to "</SyntaxHighlight>"
Line 13: Line 13:
<code lua>example=Humanoid:LoadAnimation(script.Parent.AnAnimation)
<code lua>example=Humanoid:LoadAnimation(script.Parent.AnAnimation)
example:Play()
example:Play()
</code>}}
</SyntaxHighlight>}}


[[Category:Methods]]
[[Category:Methods]]

Revision as of 03:51, 27 April 2023

LoadAnimation( Animation animation )
Returns Instance
Description: This can be used to load an animation into the Humanoid as a variable.
Member of: Humanoid


Example
{{{1}}}