Basically, a plugin works exactly like a normal script, except that it runs each time you open a place it studio, and you've got access to the plugin global variable, wich unlocks you more possibilities. For example, you can get access to the mouse like this :
1 | mouse = plugin:GetMouse() |
2 | mouse.Button 1 Down:connect( function () print ( "Clicked" ) end ) |
To publish and test a plugin you've just created, all you have to do is put your script in a model, then right click the model and choose "Publish as plugin". Check out the wiki article if you want to learn more about plugins :
http://wiki.roblox.com/index.php?title=Tutorial:Plugins
Locked by evaera
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?