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()
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.