Play (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
m HELP moved to Play (Function) over redirect: revert
>ArceusInator
added example and AnimationTrack
Line 2: Line 2:
name = Play
name = Play
|arguments =
|arguments =
|returns = n/a
|returns = [[nil]]
|description = Plays a stopped or paused sound
|description = Plays a stopped or paused sound
|object = [[RBX.lua.Sound (Object)|Sound]]
|object = [[RBX.lua.Sound (Object)|Sound]], [[RBX.lua.AnimationTrack (Object)|AnimationTrack]]
|}}
|}}
{{Example|
<pre>
Workspace.Player.Head.Sound:Play() -- plays the sound
</pre>
}}

Revision as of 21:53, 27 December 2010

Play( )
Returns nil
Description: Plays a stopped or paused sound








Example
Workspace.Player.Head.Sound:Play() -- plays the sound