This script errors are a bit complex.. Part of this doesn't work at all, part of it only studio and not normal game, and part of it works both. I want all of them to work at least just in normal game.
-- Script is Local Script --
local plr = game.Players.LocalPlayer
local house = plr.PlayerGui.GameChooseGUI.Frame
local t = plr.PlayerGui.GameChooseGUI.Frame.PlayButton.Text
debounce = false
-- This below only works on studio --
script.Parent.Text = "LOADING."
wait(1)
script.Parent.Text = "LOADING.."
wait(1)
script.Parent.Text = "LOADING..."
wait(1)
script.Parent.Text = "LOADING."
wait(1)
script.Parent.Text = "LOADING.."
wait(1)
script.Parent.Text = "LOADING..."
wait(1)
script.Parent.Text = "LOADING."
wait(1)
script.Parent.Text = "LOADING.."
wait(1)
script.Parent.Text = "LOADING..."
wait(1)
script.Parent.Text = "PLAY NOW"
-- This below is the only one that works on studio AND on game --
script.Parent.MouseButton1Click:Connect(function()
plr.PlayerGui.GameChooseGUI.Frame.Visible = false
plr.TeamColor = BrickColor.new("Bright red")
debounce = true
end)
-- This below down't work both on studio or on game --
-- What this mess is below is I'm trying to make it so that the GUI only appears once so if the player dies it won't come again.
if debounce == true then
while wait() do
if house.Visible == true then
house.Visible = false
end
end
end

2 comments
Delete that bottom part. What you do instead is check the GUI for ResetOnSpawn and set it equal to false.
@Horribils _Aedrovulf Thank you for the tip.