How do I make it so you can only hold one item at a time in your inventory?

Like you can't hold a hammer and a key and a sword at the same time, it forces you to put it down.

If you can answer with an explanation and a script it would be much appreciated!

3 comments

0

You'd have to code your own Backpack, edit the current one, have a custom pickup system, or just detect when you have a tool and force drop the current one to pick up the new one. 

0

You wouldn't have to. Just check if there is something in the backpack, and if there is then delete it or something.

0

How do i edit the backpack? is it through starter player or something?