h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 08:49 PM |
Where do you put the plugin GUI to where a user can interact with it? StarterGui would not let the user interact with the GUI and it would replicate in-game, which we don't want.
Thanks |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2016 08:51 PM |
game.CoreGui
#code R+ | local RAP = "438,477"; local robux = "R$20,000" |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 08:51 PM |
| That would show in Studio? I thought CoreGUI is a set of gui's that are replicated when a game starts |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2016 08:52 PM |
You just said yourself that that was StarterGui. Use CoreGui.
#code R+ | local RAP = "438,477"; local robux = "R$20,000" |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 08:53 PM |
| Yeah but I thought CoreGUI was basically a locked version of that, but nevermind, I will see if it works. Thanks! |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2016 08:54 PM |
You're welcome.
#code R+ | local RAP = "438,477"; local robux = "R$20,000" |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 10:46 PM |
| TextButtons aren't working now (using the default events) under CoreGUI? Is there something you have to do to get around that? |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2016 10:49 PM |
| TextButtons work fine in CoreGui there is something wrong with your script. |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 10:52 PM |
ExampleButton.MouseButton1Click:connect(function() print("This does not work.") end)
Works fine normally under a client |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 11:05 PM |
| Everything else in the script works fine, just not the handlers for the buttons |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2016 11:22 PM |
Are you putting the script inside the gui?
Scripts don't run in studio, you have to handle the buttons and whatnot in your plugin script. |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 11:28 PM |
Yeah. Took a screengrab about what it looks like: https://twitter.com/H5SDeveloper/status/695479111700123648
I've tried both localscript and script. |
|
|
| Report Abuse |
|
|
h5s
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 1229 |
|
|
| 04 Feb 2016 11:31 PM |
| Oh nevermind I see what you mean now, thanks! |
|
|
| Report Abuse |
|
|