Inventory System (Lethal Company)

Hello there!
I need help with an inventory System based on Lethal Company…


Lethal Company Inventory System

The Lethal Company inventory system is a unique and streamlined way to manage your items in-game. Here are the key features:

  • Compact Design: The inventory has only 4 slots, making it easy to manage your items and reducing clutter.
  • Intuitive Navigation: Use the mouse wheel to quickly switch between different items and slots.
  • Weight-Based System: The inventory system takes into account the weight of each item, ensuring that you can only carry what you can realistically handle.
  • Easy Item Management: Use the ‘Q’ key to drop an item and the ‘E’ key to pick up a new one. If your inventory is full, you won’t be able to pick up any more items until you make some space.

I’ve created a text-based GUI for the inventory system, inspired by the Lethal Company game. Currently, the GUI consists of 4 text boxes, labeled slut1 to slut4, with no design or aesthetic features.
image


The tools at your disposal have proximity prompts. These prompts will trigger when you’re close to certain items, allowing you to later pick them up and use them in creative ways.

image


image
The “Tools” are just parts/meshes that have proximity prompts…


I need help with the scripting/interaction system and the inventory itself.

1 Like

Personally I have never had the luxury to play lethal company but I will try my best to help you.

First of all this tutorial series makes a really good inventory system that uses Janitor (memory clean up module)

I’m not too sure what your scripting abilities are but personally I have followed this series and it’s doable to modify it to your liking for your lethal company style.

If you follow the tutorial and you aren’t sure how to modify it to your liking you could use the skills you learnt from it to make your own, everything you need is in this tutorial series.

2 Likes

Thanks for replying, but this inventory system confused me a little…

And there are too many things I don’t need and don’t know how to remove… That inventory system would be good in a survival game, but not in mine…

1 Like

Yeah I think you would definitely benefit from going making this system with an Object Oriented Programming approach just by doing it that way cuts down your workload significantly

2 Likes

Hello, if you are confused by the contents of this video series you are not ready to make an inventory system by yourself. You should take the time to learn the important things.

Remote events: Picking up objects
ProximityPrompts: The detection of the player interacting with an object
UserInputService: Anything keybind related like 1, 2, 3 to interact with slots
Attributes: Giving objects weight (This is just a value almost like a variable)

Hopefully this helped, if the documentation is too confusing there are always youtube tutorials on each of these topics.

2 Likes

Thanks this helped me alot! I will use the video to make my own hotbar system…