Adding containers and how to handle tools vs materials

hi so in my game tools and materials are seperate to prevent clutter. when players press B they can view all the materials that they have. now, i want to add containers, which can hold both tools AND materials, i’m just not sure where to start with how i want this to exactly work.

one of my ideas was to show both in the form of labels on a seperate frame in the inventory gui, and when the player clicks one of the labels it transfers it to their inventory, but i have no clue on how or where i need to use remote events, because i’d like to keep this all on the server except for inputs, as the game is multiplayer and i need server scripts to have an accurate log of what items the player has regardless of whatever the client thinks it has.

any help and guidance is appreciated. essentially: how should i do this.

1 Like

yea so uh i made it so you can click the labels on the client and then it drops a tool with the same value and its a material pack. you can pick it up and use it and it’ll give you those materials.

then for the containers i just added nodes and you press E on them to weld ur tool onto that node inside of the box and then press again to take it out.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.