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

Is it bad to use Instance.new too often in the script?

I often use Instance.new to create GUIs & change their properties in the scripts instead of creating them beforehand in the Studio. The necessary components are created once the player joins. But I am afraid that constant usage of Instances comes at a cost of players with low-end devices. The question is: should I retrain myself from using too many instances or not?

1 comment

0

No, if you use it with brain then it is completely fine, if you put it in while true loop without wait() then of course it's not alright but if you don't put thousands of instances in workspace then it's alright.

1 answer

After doing quick research, seems fine to me; no.

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