-- create a basic loading gui

local screenGui = Instance.new("ScreenGui")
local textLabel = Instance.new("TextLabel", screenGui)
textLabel.Text = "Loading"
textLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
textLabel.AnchorPoint = Vector2.new(0.5, 0.5)
textLabel.Size = UDim2.new(1 , 0, 1, 100) -- make sure the topbar is covered
textLabel.FontSize = Enum.FontSize.Size14
screenGui.Parent = playerGui
