So,Ive tried this :
--[iLegimate]-- script.Parent:RemoveDefaultLoadingScreen() local screen = Instance.new("ScreenGui") screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel") textLabel.Parent = screen textLabel.Text = " LOADING FABLE OF HEROES ©" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size14 local count = 0 while game.ContentProvider.RequestQueueSize > 0 do textLabel.Text = "LOADING FABLE OF HEROES ©" .. string.rep(".",count) count = (count + 1) % 4 wait(.3) end screen.Parent = nil
But what i'd want to do is like,You know when it loads up the game right? It shows a grey background behind the text. What if i'd want to change that frame's colour,Add images etc...? What do i have to do?
while game.ContentProvider.RequestQueueSize > 0 do] textLabel.Text = "LOADING FABLE OF HEROES ©" .. string.rep(".",count) count = (count + 1) % 4 wait(.3) end
local Label = Instance.new("ImageLabel", screen) Label.ZIndex = 2 --[ Apply Properties ]-- textLabel.ZIndex = 2 local Background = Instance.new("Frame", screen) --[ Apply Properties ]--
Basically, setting everything one ZIndex above will mean that anything with a lower ZIndex will appear behind it.
http://wiki.roblox.com/index.php?title=API:Class/GuiObject/ZIndex