Airstruct
|
  |
| Joined: 13 Oct 2016 |
| Total Posts: 73 |
|
|
| 24 Nov 2017 08:53 PM |
How do I do a script where when the player clicks the left mouse button (MouseButton1), it does a function?
|
|
|
| Report Abuse |
|
|
|
| 24 Nov 2017 09:11 PM |
Do you want it to activate when a player clicks a GUI, object, or just clicking anything?
|
|
|
| Report Abuse |
|
|
Airstruct
|
  |
| Joined: 13 Oct 2016 |
| Total Posts: 73 |
|
| |
|
zC0LX
|
  |
| Joined: 02 Apr 2017 |
| Total Posts: 59 |
|
|
| 28 Nov 2017 05:24 PM |
make an entire transparent button and put a Script in it and put the following in script
function click() --yourcodehere end
script.Parent.MouseButton1Down:connect(click)
your welcome sir
#code print('oh no an error!!') |
|
|
| Report Abuse |
|
|