I'm extremely confused.. when I try to run an event that worked, like, a minute ago, it doesn't work anymore. It just goes - attempt to call a nil value (x13) and it goes higher as I click. What? There's no specific code causing this. All my code is the same as before, I haven't edited it, it just happened all of a sudden. Is this a glitch? Am I supposed to restart all of my code? Please help.
Here is my code:
function closeButton() script.Parent.Parent.Visible = false end script.Parent.MouseButton1Click:connect(closeButton) -- This code is correct.
function open() game.StarterGui.ScreenGui2.Frame2.Visible = true end script.Parent.MouseButton1Click:connect(open)
I stopped developing the game because of this issue.
Closed as Non-Descriptive by ChemicalHex, GingeyLol, saSlol2436, and LegitimatlyMe
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?