AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 11 Aug 2015 01:18 PM |
| I understand the basic of plugins; I've made two before. For the current one I'm making, I want an interactive GUI to appear on the screen when it's activated. How do I make it appear on the screen and how do I make it interactive? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 01:54 PM |
.Parent the gui to game.CoreGui
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
ohno1112
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 833 |
|
|
| 11 Aug 2015 02:02 PM |
| you need to manually create, resize, recolor, etc every bit of the GUi and put it all in CoreGui. |
|
|
| Report Abuse |
|
|
AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 11 Aug 2015 02:29 PM |
Thanks. My plugin works! I'm just having a slight problem with the toggling. How do I turn my plugin on and off?
Here's what I tried that didn't work:
Active = false
Button.Click:connect(function() Active = not Active plugin:Activate(Active) end
plugin.Deactivation:connect(function() Active = false end |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 02:36 PM |
em, and what is the problem? if u mean the gui, then, .Parent the gui inside the .Click and .Deactivation :P
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 11 Aug 2015 03:05 PM |
Sorry if the question was unclear, though I fixed it myself. Now, I think I have one FINAL question. no promises tho ;)
I'm working on a building plugin. When you're placing the part, there's a translucent guide part that follows your mouse, showing you where the part will go. Where is a safe place I can put this part so that the player won't remove it in Explorer?
I know it's possible because, when using Stravant's Model Reflect plugin, the part that visualizes the plane in which you flip the model over can't be found in Explorer. |
|
|
| Report Abuse |
|
|
AstroCode
|
  |
| Joined: 09 Oct 2009 |
| Total Posts: 1122 |
|
|
| 11 Aug 2015 03:06 PM |
| I take that back, Stravant's plugin puts the part inside Workspace. |
|
|
| Report Abuse |
|
|
OzzyFin
|
  |
| Joined: 07 Jun 2011 |
| Total Posts: 3600 |
|
| |
|
OzzyFin
|
  |
| Joined: 07 Jun 2011 |
| Total Posts: 3600 |
|
|
| 11 Aug 2015 03:09 PM |
thought you mean the gui
now ure gonna ninja me cus my phone is laggy af |
|
|
| Report Abuse |
|
|