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

2 comments

1

Well, if line 3 isn't in a comment in the code, I would assume it would be causing some problems.

0

Actually its I forgot to comment it, but it wont work still.