LoadAnimation (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Itunes89
No edit summary
>Legend26
No edit summary
Line 1: Line 1:
{{deprecated}}
<onlyinclude>{{Method
<onlyinclude>{{Method
|name                = LoadAnimation
|name                = LoadAnimation
| arguments          = [[Instance]] ''Animation''
|description          = This can be used to load an animation into the humanoid as a variable.
|description          = This can be used to load an animation into the humanoid as a variable.
|returns              = [[Instance]] value
|returns              = [[Instance]] value

Revision as of 23:39, 22 January 2012

LoadAnimation( Instance Animation )
Returns Instance value
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()