Try this
local Calc = require(2621701837)
local dictionary = {[1] = "13", [2] = "15", [3] = "18"}
local number = "5" -- Set this to the amount you want to subtract but make sure it is in quotes
function Calculate(String)
local Ran, Num = pcall(Calc, String)
if not Ran then return "Invalid formula" end
return Num
end
for i, v in pairs(dictionary) do
print(Calculate(v.."-"..number))
end