local Fix = script.Parent.Parent.Parent:WaitForChild("Fix")
local PrestigePanelIsOpen = game.Workspace:WaitForChild("PrestigePanelIsOpen")
local Frame = script.Parent.Parent.Parent:WaitForChild("Frame")
local ClosePanel = script.Parent.Parent.Parent:WaitForChild("ClosePanel")
Fix.Event:Connect(function()
PrestigePanelIsOpen = "true"
end)
if PrestigePanelIsOpen.Value == "true" then
while true do
print("it is open") --this is not printed
script.Parent.MouseButton1Click:Connect(function(click)
Frame.Visible = false
Frame.Active = false
PrestigePanelIsOpen.Value = "false"
ClosePanel:Fire()
end)
end
wait(0.1)
end This script closes a GUI. It was working before then my studio crashed and I lost it :(

2 comments
I N D E N T A T I O N A N D C O D E B L O C K S N O O B
waht r u attemtpting with that "Event" part?