while true do wait(0.5) if script.Parent.Parent.Enabled.Value == false then script.Parent.SurfaceGui.Screen.Script.Disabled = true wait(0.01) script.Parent.SurfaceGui.Screen.Text = "CANNOT CONNECT TO SERVER"
else if script.Parent.Parent.Enabled.Value == true then wait(5) script.Parent.SurfaceGui.Screen.Text = "Connecting..." wait(10) script.Parent.SurfaceGui.Screen.Text = "Connection established..." wait(2) script.Parent.SurfaceGui.Screen.Text = "Loading data..." wait(4) script.Parent.SurfaceGui.Screen.Text = "Data Loaded.. Booting.." wait(1) script.Parent.SurfaceGui.Screen.Script.Disabled = false end
end
while true do wait(1) if script.Parent.Parent.Enabled.Value == false then script.Parent.SurfaceGui.Screen.Script.Disabled = true wait(0.01) script.Parent.SurfaceGui.Screen.Text = "CANNOT CONNECT TO SERVER" elseif script.Parent.Parent.Enabled.Value == true then wait(5) script.Parent.SurfaceGui.Screen.Text = "Connecting..." wait(10) script.Parent.SurfaceGui.Screen.Text = "Connection established..." wait(2) script.Parent.SurfaceGui.Screen.Text = "Loading data..." wait(4) script.Parent.SurfaceGui.Screen.Text = "Data Loaded.. Booting.." wait(1) script.Parent.SurfaceGui.Screen.Script.Disabled = false end end