generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Making a Plugin

Previous Thread :: Next Thread 
AstroCode is not online. 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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
11 Aug 2015 01:54 PM
.Parent the gui to game.CoreGui

"My Life is going Good... but..."
Report Abuse
ohno1112 is not online. 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 is not online. 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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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 is not online. 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 is not online. 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 is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
11 Aug 2015 03:08 PM
coregui?
Report Abuse
OzzyFin is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image