I am trying to figure out why roblox is not reading when the button is pressed, the script is a local script.
closeButton = Parent closeButton.MouseButton1Down:connect(function() print"pressed" end)
It does not print anything.
function onClick() print("Pressed") end script.Parent.MouseButton1Click:connect(onClick)
You also wrote print"pressed" instead of print("pressed") <-Works either way