BACKSTORY: I am trying to make a service that is like CheckMeIn (A service that checks you in to a hotel room). I was working on the gui, so I made a script. The GUI is supposed to be a Windows styled GUI system. The script is shown below:
gui = game.StarterGui.PCTabGui
clickable = script.Parent
gui.Enabled = false;
function onMouseClick()
gui.Enabled = true;
end
function close()
gui.Enabled = false;
end
clickable.ClickDetector.MouseClick:connect(onMouseClick)
gui.Frame.Minimize.MouseEnter:connect(close)
This appears a few times in the output in red: cloud_1685949788.ToDoListPlugin.NexusPluginFramework.NexusProject:253: Requested module experienced an error while loading
The GUI also doesn't show up.
Could anybody help me in this?

1 comment
Please use Connect instead of connect as it's deprecated.