I have a gui in startergui with buttons and everything (the actual options) also in the gui and the gui has an imagebutton in it with script:

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Enabled = false
end)

And when i enable it before testing, i click it and it works, the whole thing dis appears. But Then i turn enable = false manually (not testing) and when i tested, - i clicked my options button (doesnt matter here) and i clicked Energy Attack Options and the options come up, but this time i click that close button and it doesnt dis appear. Please Help!

2 comments

0

are u going to startergui and changing the enabling??? you are looking in the wrong place, the startergui clones into the player, look inside the player for the exact gui's and enable that gui instead of the gui from startergui

0

never mind, i figured it out, it was in a different kind of script than needed, i hink i used a remote function, i have bad memory sometimes lol