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: Whats the error in this plugin?

Previous Thread :: Next Thread 
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
13 Sep 2015 09:09 AM
local plugin = PluginManager():CreatePlugin()
local toolbar = plugin:CreateToolBar("Hello World Plugin")
local button = toolbar:CreateButton(
"",
"Click this button to print hello world!"
"control_play.png"
)
button.Click:connect(function())
print("Hello world")
end)

Did exactly as the wiki said...
Report Abuse
ChuckXZ is not online. ChuckXZ
Joined: 26 Jan 2012
Total Posts: 2996
13 Sep 2015 09:17 AM
do

#code
local plugin = PluginManager():CreatePlugin()
local toolbar = plugin:CreateToolBar("Hello World Plugin")
local button = toolbar:CreateButton(
"",
"Click this button to print hello world!",
"control_play.png"
)

button.Click:connect(function())
print("Hello world")
end)


#code repeat wait(.05) until thread ~= nil
Report Abuse
EgoMoose is not online. EgoMoose
Joined: 04 Feb 2009
Total Posts: 2896
13 Sep 2015 09:28 AM
Do you have the image with the proper name in the folder too?
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
15 Sep 2015 08:34 AM
I have the image name correct, but still doesn't work?
Report Abuse
dennis96411 is not online. dennis96411
Joined: 06 Mar 2009
Total Posts: 1079
15 Sep 2015 11:03 AM
You forgot a comma in there.
Report Abuse
dennis96411 is not online. dennis96411
Joined: 06 Mar 2009
Total Posts: 1079
15 Sep 2015 11:04 AM
local plugin = PluginManager():CreatePlugin()
local toolbar = plugin:CreateToolBar("Hello World Plugin")
local button = toolbar:CreateButton(
"",
"Click this button to print hello world!",
"control_play.png"
)
button.Click:connect(function()
print("Hello world")
end)
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