For some reason MouseButton1Click does not work for prints or others, I looked up this problem, did not find any fixes
Code :
gui = script.Parent.Parent main = gui.Main can_mission = gui.Can_Do_Missions missions = script.Parent mission1 = missions.Mission1 mission1.MouseButton1Click:connect(function() print("Working") end)
Please help. Also I've checked the location already, location is fine.
UPDATE: The problem has been solved, I found a solution that fixed it, thanks for trying to help.
I'd make sure mission is a button gui of some sort, I can't see any other errors
There can be several things going on but I would check the zIndex of the button your trying to execute that on, because it might be under a gui and it is not allowing it to be clicked
another thing is the script might have loaded before the gui so you need to use :WaitForChild()