UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 05:58 PM |
Is there a way to make a plugin that runs itself as soon as you open ROBLOX studio and open a place?
And not have a button to click? |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 06:13 PM |
| Does anyone know that it can't be done? |
|
|
| Report Abuse |
|
|
dnic1997
|
  |
| Joined: 08 May 2010 |
| Total Posts: 309 |
|
|
| 11 Apr 2013 06:15 PM |
| Yeah, you have to make a function that makes it activate itself. |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 06:15 PM |
Could you explain how?
And what about the not having a button to click on? |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 07:39 PM |
| https://www.youtube.com/watch?v=DkshOn0jRpw |
|
|
| Report Abuse |
|
|
dnic1997
|
  |
| Joined: 08 May 2010 |
| Total Posts: 309 |
|
|
| 11 Apr 2013 07:48 PM |
| Well, you will need the button, but it will be able to self activate if you script it properly. |
|
|
| Report Abuse |
|
|
dnic1997
|
  |
| Joined: 08 May 2010 |
| Total Posts: 309 |
|
|
| 11 Apr 2013 07:49 PM |
| I can't show you because my plugins are on my other laptop which is being fixed. |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 08:09 PM |
Would this work
local PluginManagerObject = PluginManager() local Plugin = PluginManagerObject:CreatePlugin() local Toolbar = Plugin:CreateToolbar("BasePlateColor") local Button = Toolbar:CreateButton("", "Name", "Image.png")
repeat wait(0.03) if Workspace.BasePlate = true then Workspace.BasePlate.BrickColor == BrickColor.new("Bright green") end until false |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 08:10 PM |
I mean
local PluginManagerObject = PluginManager() local Plugin = PluginManagerObject:CreatePlugin() local Toolbar = Plugin:CreateToolbar("BasePlateColor") local Button = Toolbar:CreateButton("", "Name", "Image.png")
repeat wait(0.03) if Workspace:FindFirstChild("BasePlate") == true then Workspace.BasePlate.BrickColor = BrickColor.new("Bright green") end until false |
|
|
| Report Abuse |
|
|
dnic1997
|
  |
| Joined: 08 May 2010 |
| Total Posts: 309 |
|
|
| 11 Apr 2013 08:11 PM |
repeat wait(0.03) if Workspace.BasePlate ~= nil then Workspace.BasePlate.BrickColor == BrickColor.new("Bright green") end until false |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 08:12 PM |
| Okay but how do I make it auto run? |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2013 08:13 PM |
| Just write the script without a function. |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 11 Apr 2013 08:14 PM |
Omg it turns out you don't need the button :D
Just put in a normal script without
local PluginManagerObject = PluginManager() local Plugin = PluginManagerObject:CreatePlugin() local Toolbar = Plugin:CreateToolbar("BasePlateColor") local Button = Toolbar:CreateButton("", "Name", "Image.png")
stuff |
|
|
| Report Abuse |
|
|