Would mouseclick work with GUI's?
Example:
script.Parent.MouseClick:connect(onMouseClick)
If not what function do I use for click detectors on GUI's
Sorry I haven't really ever scripted gui's.
You were almost there, just take out the "onMouseClick"
script.Parent.MouseButton1Click:connect(function)
@RRCT
I doesn't matter if you take out the onMouseClick or not, just make sure to define the function onMouseClick or use :connect(function()) end)