Pause (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>Trappingnoobs
--NOTE TO SELF-- REMEMBER TO FIX THIS - Pause (Method)/RunService + Pause (Method)/Sound or whatever. IDK. Somone who knows how this stuff works-- Fix please!
Line 4: Line 4:
{{clear floats}}
{{clear floats}}


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




Line 12: Line 12:
{{clear floats}}
{{clear floats}}


[[Category:Methods]]
<noinclude>[[Category:Methods]]</noinclude>

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