Created by BananasRule
Features:
- PROFIT CALCULATOR
- HOW IT WORKS
- Calculates how much profit you have made after robux taxes
- Also subtracts your Bought value from your Sold value to see to give the most accurate result
- HOW TO USE:
- Change the variable player to player’s profit you wish to calculate
local player = game:GetService("Players")["ReplaceMeWithPlayerName"]
local MessageRemote = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
local leaderstats = player.leaderstats
local sold = leaderstats.Sold
local bought = leaderstats.Bought
local profit = math.floor(sold.Value - bought.Value)
local RobloxTax = profit * 0.30
local total = profit - RobloxTax
if profit < 0 then MSG = "Your total debt is ="
else
MSG = "Your total profit is = "
end
MessageRemote:FireServer(player.Name.." "..MSG..tostring(math.floor(total)),"All")