Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Click Function script?

Asked by 11 years ago

I just need the Click Function ready. Gui type.

2 answers

Log in to vote
0
Answered by
Azarth 3141 Moderation Voter Community Moderator
11 years ago

It's called MouseButton1Click and it's an event.

Ad
Log in to vote
0
Answered by
KAAK82 16
11 years ago
1function onClick()
2--Code here
3end
4 
5script.Parent.MouseButton1Click:connect(onClick)

Hope this helps :D

0
wtf I don't need this anymore.. DDDropTheBase 0 — 11y
0
k... just answering... KAAK82 16 — 11y

Answer this question