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: \[0_0]\ PLUGINS

Previous Thread :: Next Thread 
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 10:30 AM
If you were wondering that cruddy box guy was the aliens guy, ya frawb

Ok so I have just started to move onto plugins, and so far I have done pretty well but for some reason I need to get whenever the mouse is clicked I need to know when it clicked,where it clicked, and how (Hopefully button1down)

So here is mine:


p = PluginManager():CreatePlugin()
t = p:CreateToolbar("TEST")
m = p:GetMouse()
button = t:CreateButton("QuickClick","TEST","new_icon.PNG")
print("Hilly Plugin Working")
print("This is a plugin made by, ToboboT")

---
----
--FUNCTIONS
----
---
function mclick()
print("Oh yeah!")
end

function click()

--PROBLEM LINES
p:Activate()
--PROBLEM LINES
m.Button1Down:connect(mclick)
end

button.Click:connect(click)
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 11:17 AM
Bumbty
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 11:29 AM
Bumbty #2
Report Abuse
IAmReallyAwesome is not online. IAmReallyAwesome
Joined: 05 Mar 2010
Total Posts: 7371
17 Aug 2013 11:30 AM
MouseButton1Down?
(Button1Down might be valid, I'm just tired...)

*Tell me about the rabbits, George*
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 11:33 AM
Not if I already set the mouse, it is something to do with the p:Activate() I just can't put my finger on it. BTW I can't use the mouse until the plugin is activated, that is all I know.
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 11:40 AM
Bumbty #3
Report Abuse
Desperian is not online. Desperian
Joined: 07 Feb 2012
Total Posts: 3371
17 Aug 2013 11:49 AM
p:Activate(true)

...?
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 11:53 AM
Ok lemme try
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
17 Aug 2013 11:53 AM
YES, THANKYOU
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