Giving each player their own ammo value

Hello devforum,
Due to the way that i’ve structured my gun script, players would get the same ammo pool, and I’ve had to start fresh in order to fix this; How do you give each player an intvalue for ammo, and read/write to it without intefering with other player’s ammo?

you just uhh, use Instance.new() as usual to create intvalue and give it to each player :confused:

You’d think,
I’ve stored ammo and ammoreservoir in the tool, which is in starterpack, so theoretically it should be separate ammo, but in practice, i’ve had reload from both player1 and player2 show up as the same ammo values

hellodevforum

Well, that’s basically a problem in your script, it should have seperated values unless you didn’t define which player to change their ammo values when you reload.