Pause (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Legend26
No edit summary
Line 1: Line 1:
<onlyinclude>{{Method
There are two different ''Pause'' methods as shown below.
|name = Pause
|description = Pauses a current sound playing.
|object = Sound
}}</onlyinclude>


{{:Pause (Method)/sound}}
{{clear floats}}
{{clear floats}}


Line 10: Line 7:
game.Players.LocalPlayer.Character.Head.Sound:Pause()
game.Players.LocalPlayer.Character.Head.Sound:Pause()
</pre>}}
</pre>}}
{{:Pause (Method)/runservice}}
{{clear floats}}


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

Revision as of 00:25, 13 January 2012

There are two different Pause methods as shown below.

Pause( )
Returns nil
Description: Pauses the sound if it is playing.
Member of: Sound


Example
game.Players.LocalPlayer.Character.Head.Sound:Pause()


Pause( )
Returns nil
Description: Pauses the physics and scripts in a place.
Member of: RunService