|
| 18 Jul 2014 03:56 PM |
I made this script but for some reason it did work
game.StarterGui.ScreenGui.buttons.Play.MouseButton1Click:connect(function()
script.Parent:Play() end)
did I make a mistake? |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 03:57 PM |
i forgot to mention that the sound is in the work space and the gui is in the startergui
|
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 04:03 PM |
Try:
function OnClicked() game.Workspace.Sound:Play() end
script.Parent.MouseButtion1Click:connect(OnClicked) |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jul 2014 04:41 PM |
game.Players.LocalPlayer.PlayerGui.ScreenGui.buttons.Play.MouseButton1Click:connect(function()
script.Parent:Play() end) |
|
|
| Report Abuse |
|
|
Durfungus
|
  |
| Joined: 07 Feb 2009 |
| Total Posts: 15988 |
|
|
| 18 Jul 2014 06:12 PM |
were is the script and where is the gui
Currently have 46k R$ [HELP, DURFUNGUS IS SPREADING] Twitter - @Durfungus |
|
|
| Report Abuse |
|
|