well could somebody please fix this problem, I didn't know what to do on the script.
Problem: gui for atm system wouldn't activate after I clicked on the x button. The x button is inside a frame which is inside the gui.
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Enabled = false
end)
I know I added the enabled = false but if I did this it would just not work or just break the script and leave the gui on.
if script.Parent.Parent.Parent == false then
script.Parent.Parent.Parent = true
end)

1 comment
What is the great grandparent of script?