Hi there, I am a new UI designer that started this year. I was wondering how do you make a safe UI. Like for example, you can put whatever item you want in that storage container (or simply safe). I just don’t know how to script it. I really don’t. I am making this new hood RP game that’s to be set in released next year. If anyone is a great programmer in general, please talk to me! Oh and, I want there to be a limit on how much things you can put. 0/5 is the limit, but with a gamepass it is 0/10. That’s simply how much a safe can hold things. If it is for example 11/10, it won’t work and only 10 things can be put.
You need to store it in a data store
Then have some variables on the server store it in some module then wherever the player have the pass set the limit to 10 else set it to 5 then also update it when players bought the pass
Then now when a player wants to Store something just check for the value
You also need the client to send remotes to trigger actions
That’s complicated for me because I am not a programmer, but if you have like a little example of coding for a safe, then maybe I could understand it by a little.


