if GAMEMODE.Config.dropmoneyondeath then
local amount = GAMEMODE.Config.deathfee
if not ply:canAfford(GAMEMODE.Config.deathfee) then
amount = ply:getDarkRPVar("money")
end
if amount > 0 then
ply:addMoney(-amount)
DarkRP.createMoneyBag(ply:GetPos(), amount)
end
end