When a player tries to pick up an item, the script detects no open spaces in the inventory even though they are all open. There are no errors in the output, this is the player’s inventory:
And Here is the script, does anyone know why this may be?
1 Like
Sometimes it bugs out if the “RequiresLineOfSight” setting is Enabled.
It doesn’t work both ways RequiresLineOfSight (true and false)
im just gonna make my own pickup systems using a click detector
id rather have this working though
I think you made a typo in the condition. You are using StringValue right? Try changing the nil to “” like this:
if player.Inventory.Slot1.Value == "" then
Usually nil won’t work out on StringValue. You have to use empty space for that.
1 Like
Yup, it works. That was a huge oversight on my part. Thank you!
1 Like