How do I check when a button inside of a GUI is clicked? The scripts from ROBLOX's website don't work for some reason.
You need a TextButton or an ImageButton to register a MouseButton1Click or MouseButton1Down event. Put a script in your TextButton/ImageButton and paste the following code.:
script.Parent.MouseButton1Click:Connect(function() -- Attach a function to your MouseButton1Click RBXScriptSignal -- Your code here. end)