Stop (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
Example
>ArceusInator
silly me
Line 2: Line 2:
name = Stop
name = Stop
|arguments =  
|arguments =  
|returns = n/a
|returns = [[nil]]
|description = Stops a currently playing sound and returns the marker to the beginning of the sound file
|description = Stops a currently playing sound and returns the marker to the beginning of the sound file
|object = [[RBX.lua.Sound (Object)|Sound]], [[RBX.lua.AnimationTrack (Object)|AnimationTrack]]
|object = [[RBX.lua.Sound (Object)|Sound]], [[RBX.lua.AnimationTrack (Object)|AnimationTrack]]

Revision as of 22:01, 27 December 2010

Stop( )
Returns nil
Description: Stops a currently playing sound and returns the marker to the beginning of the sound file








Example
Workspace.Player.Head.Sound:Stop() -- stops the sound