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: how to make a plugin?

Previous Thread :: Next Thread 
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
19 Jul 2017 11:25 PM
this wiki page is pretty vague on the whole thing:

http://wiki.roblox.com/index.php?title=Tutorial:Plugins

for example, in the example in the page, what is "plugin" that the script keeps referencing?? whenever i try to type something like "plugin:CreateToolbar()", "plugin" is underlined in blue. is there something im missing here?


Report Abuse
WXBZ is not online. WXBZ
Joined: 10 Oct 2012
Total Posts: 850
19 Jul 2017 11:27 PM
It is underlined but doesn't affect the script, it is kinda annoying.


for _, post in pairs(game.Players.WXBZ.Posts:GetChildren()) do post.Signature.Text = 'scripters.cf' end
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
19 Jul 2017 11:38 PM
i think there's something that im missing here

how in the world do i make a plugin??? this is my current script. its a script inside of a model in workspace. i get an error saying "attempt to index global "plugin", a nil value". if ive gotten something wrong with how to set it up, please let me know because the documentation on plugins is really poor

local buttons = plugin:CreateToolbar("Smooth bricks")
local button = buttons:CreateButton("Enable", "Enable the plugin")

button.Click:Connect(function()
plugin:Activate(true)
end)




Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
19 Jul 2017 11:43 PM
bbbbbbbbbbbbbb


Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
19 Jul 2017 11:58 PM
That says plugin is now a global keyword, but that certainly doesn't seem to be the case... Also, I was looking through some code of other plugins I've installed and from what I see they're all using "local plugin = PluginManager():CreatePlugin()" even though that tutorial says not to...
Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
20 Jul 2017 12:00 AM
If I were you I wouldn't let this hold me up. I would do it the same way others are and if you find a better/more up to date way of doing it later on, fix it then.
Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
20 Jul 2017 12:03 AM
Never mind I get it now... This should help you: https://forum.roblox.com/Forum/ShowPost.aspx?PostID=183478188
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