|
| 16 Oct 2013 03:50 PM |
| Does anyone know how to make a script so when you click on something it runs a CERTAIN script? say I wanted the Scythe script, when someone clicked on a lets say an orb it gives them the scythe and the tool. |
|
|
| Report Abuse |
|
|
talk2me2
|
  |
| Joined: 25 Mar 2011 |
| Total Posts: 1051 |
|
| |
|
|
| 16 Oct 2013 03:53 PM |
local mouse = game.Players.LocalPlayer function func() -- your code end mouse.Button1Down:connect(function() func() end) |
|
|
| Report Abuse |
|
|
talk2me2
|
  |
| Joined: 25 Mar 2011 |
| Total Posts: 1051 |
|
|
| 16 Oct 2013 03:54 PM |
If you use flat's script, you will need to use a local script.
Just sayin'
-Talk,
"If noting goes right, go left." |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2013 07:14 PM |
| Well can someone give it to me in a model? I mean Flats was awesome but the script isn't local. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2013 07:16 PM |
| Then how are you using it in a hopper bin or? |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2013 07:25 PM |
| Ok I want to make a gui that when you click on it, it gives you the scythe like in script builder my friend did it but he wont tell me how. |
|
|
| Report Abuse |
|
|
| |
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 17 Oct 2013 06:29 AM |
Make TextButton gui, and then have event like:
TextButton.MouseButton1Down:connect(function() --scythe script or whatever end)
|
|
|
| Report Abuse |
|
|
|
| 17 Oct 2013 06:58 AM |
| Nobody will make it for you in a model. |
|
|
| Report Abuse |
|
|
|
| 18 Oct 2013 05:25 PM |
| Bump None of these work :'( |
|
|
| Report Abuse |
|
|