So they way I’m doing it is by looping until its smaller or equal to the smaller number but looping takes too much time for mutliple numbers being effected so is there a more efficient and faster way for this?
local max = 21
local min = 4
repeat task.wait()
max -= min
until max <= min
print(max)