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

How can I make a script to resize GUI's to fit any computer screen?

This question has been hurting my brain for the past 2 days, I don't know why my GUI's don\t fit every screen. I really need help on this. I have no clue how to do this. Any help would be appreciated!

1 comment

0

I recommend just using UIAspectRatioConstraint objects in your GUIs. Much simpler than tweaking values and tons of settings to get matching constraints for different monitors

2 answers

✓ Accepted answer

when you create the gui always use Scale and never Offset

(SCALE, OFFSET, SCALE, OFFSET)

1 comment

0

Thanks this worked!

Hi, If you want the GUI in the middle of the screen the position should be: {0.5,-(half of left size)},{0.5,-(half of right size)} Tell me the size of you want exact measurements Hope this helped ;)

2 comments

0

If this was right please press accept awnser 

0

Say that scale is a percentage of the screen from 0 to 1, or give examples that tell what side it'd be on.

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