Yeah so my game I am currently working on has it's own loading screen (YES I DID GET RID OF THE DEFAULT LOADING SCREEN)But once i play it in the ROBLOX player.....It just doesn't play the loading screen?!?! Can someone help!
CODE:
local LBG = script.Parent.LoadingScreen
local LB = script.Parent.LoadingScreen.LoadBar
local LT = script.Parent.LoadingScreen.LOADING
LBG.Visible = true
wait(4)
LT.Text = "Grab A Sandwhich while we load"
wait(1)
LB.Size = UDim2.new(0,100, 0,20)
wait(2)
LB.Size = UDim2.new(0,300, 0,20)
wait(1)
LB.Size = UDim2.new(0,600, 0,20)
wait(4)
LB.Size = UDim2.new(0,1200, 0,20)
LT.Text = "ALMOST THERE"
wait(9)
LB.Size = UDim2.new(0,1500, 0,20)
LT.Text = "FINISHED! Give us a second please..."
wait(3)
LBG.Visible = false

7 comments
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooof
What???
Is this a localscript or a server script? Also your GUI might go off screen for some devices...
The game is only for pc at the moment.It's just a regular script in The StarterGui/ScreenGui
Server scripts won’t work with GUIs. Use a local script instead.
Hmmm.Okayyyyy. But where would i put it?
If LoadingScreen is a ScreenGui in StarterGui, then put it in StarterGui.