Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you add images into a loading screen?

So, I was on the roblox wiki, and there was a post about changing the loading screen, is there any way you can script an image into the loading screen?

1 answer

✓ Accepted answer

http://wiki.roblox.com/index.php?title=Custom_loading_screen

I have modified the example on the wiki to have an ImageLabel instead of a TetLabel.

local Content =  "Picture"

script.Parent:RemoveDefaultLoadingScreen()
 
local screen = Instance.new("ScreenGui")
screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
 
local ImageLabel= Instance.new("ImageLabel")
ImageLabel.Parent = screen
ImageLabel.Image = Content
ImageLabel.Size = UDim2.new(1,0,1,0)
 
while game.ContentProvider.RequestQueueSize > 0  do wait() end
 ---Wait to be loaded

screen.Parent = nil

This discussion is preserved as it was. New answers, comments, and votes are closed.