OwlProfile:Decrement(key: string, amount?: number)
Server OnlyDecrements a numeric key by the specified amount, throws an error if the key isn't a number.
Parameters
key*string | Target index path tracking a number value. |
amountnumber | The step value to subtract. Defaults to 1 if omitted. |
Returns
voidNothing.
profile:Decrement("Coins", 50)