Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Loading screen isnt working.. why?

Asked by 9 years ago
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
1
Well, if line 3 isn't in a comment in the code, I would assume it would be causing some problems. SlickPwner 534 — 9y
0
Actually its I forgot to comment it, but it wont work still. therewasnonameleft 0 — 9y

Answer this question