My intermission will be a textbox that opens up when a player hits a textbutton. Unfortunately, my intermission bar just stays hidden even after I click.
local button = script.Parent
local intermission = game.StarterGui.intermission.TextBox
intermission.Visible = false
local function close(click)
local title = script.Parent.Parent.Title
local description = script.Parent.Parent.TextBox
local click = script.Parent.MouseButton1Click
if button and click then
title:Destroy()
description:Destroy()
button:Destroy()
game.StarterGui.Greeting:Destroy()
intermission.Visible = true
end
end
button.MouseButton1Click:Connect(close)
P.S. I want to make a GUI similar to Natural Disaster Survival, I may have more questions coming soon.
