Managing An Item

So there’s this device called the item manager right? and I want it to manage how much someone has of medium shards. But when you reload a device that uses medium shards the item manager doesn’t track the reloaded but that causes glitches in my game so anyone know how to fix that?

2 Likes

Give players a different item along with medium shards and track that item instead. You could make it pink seeds so it looks similar.

So when any player gets an amount of medium shards, they get the same amount of the tracked item as well.

Edit: No problem. For a moment I had no idea how it could be done, but then this idea hit me.

4 Likes

oh that’s actually genius thanks

1 Like

Actually I still need help

1 Like

So you know the solution works but what about when you use the medium shards to reload?

1 Like

The tracked item wouldn’t get removed when you use the medium shards, you just get the tracked item along with the shards. Make the map settings make it so players can’t drop items, though.

1 Like

wait no sorry I thought it wrong

1 Like

Wait no sorry lemme explain this fully:
So baiscally I’m trying to make a bar and then if you run at of ammo you become really slow but you get 1 medium shard every 0.5 seconds so how do you make that

1 Like

So baisaclly is there anyway to lose a pink seed when you fire a gadget?

1 Like

Yes, when gadget fired, take away the seed with a negative item granter.

2 Likes

Yes I know to use an item granter but how do you know when a player fires?

1 Like

Use a lifecycle with the event set to “When gadget fired”.

1 Like

What? the lifecycle can do that now?

Edit: Oh it does work thanks

1 Like

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