Pause (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
example
>Trappingnoobs
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{Method|name = Pause
There are two different ''Pause'' methods as shown below.
|arguments =
|returns = [[nil]]
|description = Pauses a current sound playing.
|object = Sound
}}</onlyinclude>


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


<noinclude>{{Example|<pre>
game.Players.LocalPlayer.Character.Head.Sound:Pause()
</pre>}}</noinclude>




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


 
<noinclude>[[Category:Methods]]</noinclude>
 
 
 
 
 
 
 
 
 
 
 
{{Example|<pre>game.Players.LocalPlayer.Character.Head.Sound:Pause()</pre>}}
[[Category:Methods]]

Latest revision as of 19:46, 1 February 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