#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)
It depends what kind of GUI you want
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.
I’d have a template and clone it and change its properties depending on what the user has in the inventory
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
I’d have it a descendant of the script
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*
** You are now Level 4! **
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
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
Discord: https://discord.gg/bEn49K5JUt
Patreon: https://www.patreon.com/Suphi
Donate: https://www.roblox.com/games/7532473490
0:00:00 - Intro
0:00:13 - Problem
0:02:14 - Custom RemoteFunction
0:16:14 - Suphi's RemoteFunction Module
0:21:37 - Outro
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
Well, yea