This is for when the zombie called "Humaniod" dies and cash is given to the player
game:GetService('Players').PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character:WaitForChild("Humanoid").Died:Connect(function()
player.RealMoney.Value = player.RealMoney.Value + 1000
end)
end)
end)

2 comments
Is RealMoney inside leaderstats?
No leaderstats is made when the game is started