This script is a server script in the zombie This script is for when the zombie dies then the player is given money, it is a 1 man server. The script works only once, e.g I kill the zombie once then when it respawns it dosen't work anymore.
local Zombie = game.Workspace.Zombie1
game:GetService('Players').PlayerAdded:Connect(function(player)
Zombie:WaitForChild("Humanoid").Died:Connect(function()
local boost = player:FindFirstChild("CoinBoost")
player.RealMoney.Value = player.RealMoney.Value + boost.Value + 1000
end)
end)

2 comments
Is the zombie name the same after it respawn ?
Yes