Ok so I am I trying to make a function that when a person gets money it checks if they have a game pass and if they do they get 5% more money but Im having some problems
local MultiplyByPercentage = function(Number, Percentage)
return (Number * ((Percentage * 0.01) + 1) )
end
print(MultiplyByPercentage(62, 6)) --// 62 will be multiplied by 6% so it will print 65.72
Thanks for responding but I found an easier way
percentage * number / 100
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.