Disabling default loading GUI

Hello!

I’m trying to disable the default loading GUI, however I get an error saying I’m lacking permission.
This script is in a LocalScript, which is inside of StarterPlayerScripts.

I’m not super familiar with the CoreGui so I don’t really know where to go from here. Here’s my script, it’s pretty simple:

local cg = game:GetService("CoreGui")
cg:WaitForChild("RobloxGui"):WaitForChild("LoadingGui"):Destroy()

Just put a local script inside of ReplicatedFirst, and write:

game:GetService("ReplicatedFirst"):RemoveDefaultLoadingScreen()

This will allow the Default loading screen to be removed, and you can add in a custom loading screen if you want. Make sure this code block is near the top of your script so you remove the loading screen asap.

2 Likes

Are you sure it should be a LocalScript? I put it there, but the loading screen still appears briefly.

That happens to me too, but as of now I believe this is the only (and safest) method to remove the default loading screen.

2 Likes

I’ll tamper with it and see if I can remove it somehow haha. Thanks!

2 Likes