Is there a way for a player to press a button to transfer an item in their inventory, have a system cut 20% of it, and add the rest to a counter device?
Multiply that item by 0.20
And thinking of it like this percentages cant go below zero and 1 is 100 but in decimals so when you say 0.80 that would equal 80% of whatever number you have as of the moment and so and so forth but you would also have to round so it dosent show the decimals
4 Likes