I need help with a loading screen

I am trying to make a loading screen for my game, in Roblox Studio it takes up the whole screen, but when I test it, it doesnt fit all of the screen.

Example:

On this photo it takes up all of the screen.

When I play my game the top just shows the skybox

Did you use scale? Also, don’t use scale for position just use scale on size

I’m guessing you mean the it only scales to the topbar and then the topbar shows the skybox. If this is the case then make sure you have ScreenGui.IgnoreGuiInset set to true. This will make the gui take up the entire screen (assuming you are using scale like @regexman mentioned).

The explanation taken directly from the ScreenGui | Roblox Creator Documentation page says:

“IgnoreGuiInset is a boolean property of ScreenGuis that, when set to true, will force the GUI Inset imposed by Roblox’s CoreGuis to be ignored by this ScreenGui and its descendants. This means that an element with a UDim2 size of {1,0},{1,0} will fill up the entire screen, without a 36 pixel gap reserved for Roblox’s top bar.”