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 = | |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> | |||
}} |