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 » Scripting Helpers
Home Search
 

Re: Simplest Plugin EVAR... doesn't work.

Previous Thread :: Next Thread 
chikenugget is not online. chikenugget
Joined: 09 May 2009
Total Posts: 2552
14 Aug 2011 02:26 PM
plug1n = PluginManager:CreatePlugin()
plug2n = plug1n:CreateToolbar()
plug3n = plug2n:CreateButton("Button","IDK","button.jpg")
plug3n.Click:connect(function()
print("Clicked")
end)
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
14 Aug 2011 02:27 PM
I ate the ability for it to work.
Report Abuse
me2kool2talk2u is not online. me2kool2talk2u
Joined: 19 Feb 2007
Total Posts: 2914
14 Aug 2011 02:27 PM
plug1n = PluginManager:CreatePlugin()
plug2n = plug1n:CreateToolbar()
plug3n = plug2n:CreateButton("Button","IDK","button.jpg")
plug3n.Click:connect(function(
print("Clicked")
end)
Report Abuse
chikenugget is not online. chikenugget
Joined: 09 May 2009
Total Posts: 2552
14 Aug 2011 02:28 PM
I don't even see the button... do I have to resize my image to 15x15 or something..?
Report Abuse
me2kool2talk2u is not online. me2kool2talk2u
Joined: 19 Feb 2007
Total Posts: 2914
14 Aug 2011 02:28 PM
ohhhh wait nvm

plug1n = PluginManager():CreatePlugin()
plug2n = plug1n:CreateToolbar()
plug3n = plug2n:CreateButton("Button","IDK","button.jpg")
plug3n.Click:connect(function()
print("Clicked")
end)

try that
Report Abuse
RadioactiveWafflez is not online. RadioactiveWafflez
Joined: 25 Jun 2010
Total Posts: 3453
14 Aug 2011 02:44 PM
16x16.
Report Abuse
chikenugget is not online. chikenugget
Joined: 09 May 2009
Total Posts: 2552
14 Aug 2011 02:48 PM
Okay I resized the image, and saved it as myplugin.lua as All Files(*.*)

It still won't work, nothing in the output.

plug1n = PluginManager:CreatePlugin()
print("..")
plug2n = plug1n:CreateToolbar("toolbar")
print("...")
plug3n = plug2n:CreateButton("Button","IDK","buttonpic.png")
print("....")
plug3n.Click:connect(function()
print("Clicked")
end)
Report Abuse
me2kool2talk2u is not online. me2kool2talk2u
Joined: 19 Feb 2007
Total Posts: 2914
14 Aug 2011 02:49 PM
plug1n = PluginManager():CreatePlugin()
plug2n = plug1n:CreateToolbar()
plug3n = plug2n:CreateButton("Button","IDK","button.jpg")
plug3n.Click:connect(function()
print("Clicked")
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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