ImageLabel not displaying on the screen?
I am working on a game and i want to make it where when a player joins the game, An image pops up. But when i tried this, the image didn't show up and the output isn't helping me. Help?
01 | game.Players.PlayerAdded:connect( function (player) |
02 | local gui = player:WaitForChild( "PlayerGui" ) |
03 | local screen = Instance.new( "ScreenGui" , gui) |
04 | local frame = Instance.new( "Frame" , screen) |
05 | frame.Size = UDim 2. new( 1 , 0 , 1 , 0 ) |
06 | frame.BackgroundColor 3 = Color 3. new( 0 , 0 , 0 ) |
07 | local textlabel = Instance.new( "ImageLabel" , screen) |
08 | textlabel.Size = UDim 2. new( 1 , 0 ,. 8 , 0 ) |
09 | textlabel.Position = UDim 2. new( 0 , 0 ,. 1 , 0 ) |