Where i can add your script? I no have many idea, my attempts do not work.
playerdeath.lua
local deathListEnabled = true
local maxDeathRecords = 5
function onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified)
local playerId = player:getId()
if...