javlon123
|
  |
| Joined: 17 Apr 2010 |
| Total Posts: 317 |
|
|
| 15 Jan 2015 07:22 PM |
I am creating a music gui but my STOP button has recently broken and i cant figure out the problem. Heres the script for the STOP button: script.Parent.MouseButton1Down:connect(function() game.Workspace.Music:stop() end)
Heres the script for the Play Button:
script.Parent.MouseButton1Down:connect(function() script.Music:play() end) |
|
|
| Report Abuse |
|
|
jamdane22
|
  |
| Joined: 21 Aug 2011 |
| Total Posts: 87 |
|
|
| 15 Jan 2015 07:24 PM |
In the stop section, you did "game.Workspace.Music"
Yet in the play button you did "script.Music"
Switch "game.Workspace.Music" to "script.Music" |
|
|
| Report Abuse |
|
|
javlon123
|
  |
| Joined: 17 Apr 2010 |
| Total Posts: 317 |
|
|
| 15 Jan 2015 07:32 PM |
Nope didn't work Play: script.Parent.MouseButton1Down:connect(function() script.Music:play() end)
Stop: script.Parent.MouseButton1Down:connect(function() script.Music:stop() end) |
|
|
| Report Abuse |
|
|