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

How would you make a Gui fit the whole screen?

Kinda like a Intro Gui. Is there a script or a certain size?

1 answer

✓ Accepted answer

GUIs have two dimensions, height and width (or x and y), but they are four Size arguments. They have xScale,xOffset,yScale,yOffset. Offset is the number of pixels the GUI takes up; it will not vary due to screen size. Scale is a percentage. Although it's a percentage, it gets converted into a decimal, so it's a number between 0 and 1. 1 is 100%, 0.5 is 50%, etc. Since scale is a percentage, setting both scales to 1 will make it cover the entire screen.

1 comment

0

Yeah, I actually just figured that out.

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