Loading screen isnt working.. why?
game.Replicated:RemoveDefaultLoadingScreen --removes default loading
now designing layout of screen
local screen = Instance.new("ScreenGui")
screen.Parent = game.Players.LocalPlayers:WaitForChild("PlayerGui")
local textLabel = Instance.new("TextLabel")
textLabel.Parent = screen
textLabel.Text = "Space is loading for you. Please Wait.."
textLabel.size = Udim2.new(1, 0, 1, 0)
textLabel.FontSize = Enum.Fontsize.Size14
local count = 0
while.game.ContentProvider.RequestQueueSize > do wait()
textLabel.Text="Loading" .. string.rep(".", count)
wait(3)
end
screen.Parent = nil