I also wanted to increase cash by 100 to the killer after each kill. Here is the script I used:
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Folder",player)
leaderstats.Name = "leaderstats"
local currency1 = Instance.new("IntValue",leaderstats)
currency1.Name = "Money"
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
local tag = character.Humanoid:FindFirstChild("creator")
if tag ~= nil then
if tag.Value ~= nil then
currency1.Value = currency1.Value + 100 --This is the reward after the player died.
end
end
end)
end)
end)
Could you please add Kills and Deaths to that script? Tysm!

1 comment
do you mean so that there are a intvalue like for the Money?