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

Click Function script?

Asked by 10 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
10 years ago

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

Ad
Log in to vote
0
Answered by
KAAK82 16
10 years ago
function onClick()
--Code here
end

script.Parent.MouseButton1Click:connect(onClick)

Hope this helps :D

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

Answer this question