So, basically this is my code for my loading screen
local ContentProvider = game:GetService("ContentProvider") script.Parent.Parent.Visible = true while (ContentProvider.RequestQueueSize > 0) do script.Parent.Text = ContentProvider.RequestQueueSize.." Assets left..." wait() end script.Parent.Text = "0 Assets left!" wait(4) script.Parent.Parent:TweenPosition(UDim2.new(0,0,-1,0),"In","Bounce",1)
So, basically I want my loading screen to show how many assets are left, wait a bit, then tween out so the user can play my game. Instead what ends up happening is the roblox built-in loading screen freezes until a bit after all the assets are loaded, and then the user barely has any time to read what's on the loading screen (I want to put the game's version and helpful tips on the loading screen, so this is a big issue) Anything I'm doing wrong?
Hey MCWaterWarrior,
If you search on Roblox wiki "ReplicatedFirst", you would find a function called
RemoveDefaultLoadingScreen(), use that. But something has to be in the ReplicatedFirst for this to work, I think (e.g. FrameGui).
Here is an example:
RemoveDefaultLoadingScreene:RemoveDefaultLoadingScreen() -- This line removes Roblox Loading Screen local ContentProvider = game:GetService("ContentProvider") script.Parent.Parent.Visible = true while (ContentProvider.RequestQueueSize > 0) do script.Parent.Text = ContentProvider.RequestQueueSize.." Assets left..." wait() end script.Parent.Text = "0 Assets left!" wait(4) script.Parent.Parent:TweenPosition(UDim2.new(0,0,-1,0),"In","Bounce",1)