#What is a smart or hacky way to mass-create GUI instances to have your GUI all in a script?

43 messages · Page 1 of 1 (latest)

bold meadow
#

Title is self explanatory. All the screen gui instances and their properties in a script to be set up on join.

zenith coral
bold meadow
#

Can you explain that further?
This would be an inventory gui.

#

I almost just want a module solely for spawning the GUI instances with the properties and all that, but do not want to go typing everything out if there is a better way of doing it.

zenith coral
#

I’d have a template and clone it and change its properties depending on what the user has in the inventory

bold meadow
#

So, you would just store a template in the explorer somewhere? Where if so?

#

or where is the best place to store it if so*

#

I wanted to use a script to sort of hide it for future

zenith coral
#

I’d have it a descendant of the script

bold meadow
#

Alright, thanks.

#

I guess I should've added the goal was to hide it

#

Is that even possible?

#

It is vulnerable to exploiters in ReplicatedStorage

#

or in a localscript

#

under*

tawdry mulchBOT
#

studio** You are now Level 4! **studio

bold meadow
#

hmm, wait

#

could I just do it in a server script?

#

Yes, that's where checks and stuff come in

#

but I guess I wanted to try hiding it

#

for curiosity's sake

#

But what if the buttons make use of remotes

#

that's what I mean

#

I understand that bit

#

All I meant by the checks was if I were to use remotes

#

anyways

#

I think I can actually spawn the GUI for each player within a server script, so I'll try that with whatever I do

zenith coral
#

Dont store the inventory in the gui

#

Store it inside the player as a folder with string values or smth like that

#

Thats rly insecure

#

Look at thumbnail

#

Its not safe

#

Plus its like storing leaderstats

#

Nothing can go wrong

#

And its easier for the client to check whenever something has been added / removed

#

Watch the vid

#

Idk tbh but its not efficient

#

Just checking whether an instance has been added is easier

#

There is an RBXscriptsignal connected to this

#

Or do it the easy way that nothing can go wrong about