Is there a way to check if a gui has been clicked without a function?

I’ve been wondering this for a while, would if gui.MouseButton1Up then work?

No. MouseButton1Click and other events are meant to be connected.
Here’s an example of what would work:

gui.Activated:Connect(function(pos)
--Place code here
end)
1 Like

MouseButton1Up is an rbxscriptsignal connection that can only call a function, not a boolean. Your gonna have to make it a function

1 Like