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

Would having multiple GUI's in StarterGui slow the game/client down?

I'm currently working on a game and I have a lot of GUI's in StarterGui, either positioned off the screen or visibility set to false, and I'm wondering if it would be more efficient and potentially prevent the game from being slowed down if I were to create a GUI inside the client using Instance.new when the GUI is needed? Thanks.

4 comments

0

No, GUIs are 2D elements

0

why do u have to moderate every question nerd. this is perfectly reasonable!!

0

No, multiple GUIs will not lag your Client as it is not a 3Dimension object.

0

Both of you are wrong, GUI takes up memory and GPU to memorise what it looks like, what it's functions are and to actually register itself on screen, respectively, but, it won't be noticeable lag, if you've got one text button or a hundred text buttons

1 answer

✓ Accepted answer

I wouldn't use Instance.new() for a GUI, that's a lot of editing you probably don't want to do via script, depending on how complicated your GUIs are.

The way you have it set up is probably fine.

rant begin

Anything you put in your game will inevitably cause lag on the client. Baseplates can potentially cause lag on the client.

Some computers just aren't optimized for ROBLOX. Most of them aren't that bad though; most people aren't on lemon batteries.

You want to build your game to cause as little lag as possible for the majority of players, so I wouldn't worry about that one guy who lags.

As far as I know, it's genuinely impossible to create a game that doesn't lag for some people some of the time.

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