Instead of my custom made loading screen , I'm getting the default loading screen (the black screen, w/ info at the bottom left and pulsating "R" in bottom right)
Here's my code, and some GIFs of what should be happening
Code within a local script, within ReplicatedFirst (The ScreenGui is located within the script itself)
local RF = game:GetService("ReplicatedFirst")
RF:RemoveDefaultLoadingScreen()
local screen = script:WaitForChild("LoadingScreen"):Clone()
local frame = screen:WaitForChild("Frame")
screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
while game.ContentProvider.RequestQueueSize > 0 do
wait(2)
end
if game.ContentProvider.RequestQueueSize == 0 then
frame:TweenPosition(UDim2.new(0, 0, 1, 0, "Out", "Quad", 1, true, nil))
frame.Visible = false
end
GIF of normal loading screen loading
GIF of what the loading GUI looks like, and what happens
EDIT: withing isn't a word

1 comment
I've also been having problems with this, it's as if the method RemoveDefaultLoadingScreen has been disabled by ROBLOX. Does anyone know for sure what's up?