DataStore2: How to subtract a value? (Reduction instead of Increment)

Hey there! I was wondering how you subtract an amount since for adding you just use :Increment(). I’d need that for a shop I am scripting with DataStore2. I would like to know the method I am suppose to use.

Thanks!

Use :Increment(-VALUE) should subtract

An example of what the person above would be:

MoneyDataStore:Increment(-100)

(Mark theirs as the solution though)

1 Like

Thank you guys so much, it worked^^

1 Like