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.

2 comments
it used to run fine in both localscripts and scripts , but does not work anymore
UPDATE: The problem has been solved, I found a solution that fixed it, thanks for trying to help.