"Zombie" is the zombie in workspace This script is for when the zombie dies money is given to the player I renamed the Humanoid in Zombie to Zombie
local char = script.Parent.Parent local player = game.Players:GetPlayerFromCharacter(char) local RealMoney = player:FindFirstChild("RealMoney") local boost = player:FindFirstChild("CoinBoost") workspace.ChildAdded:Connect(function(Zombie) if Zombie.Name == "Zombie" then Zombie:WaitForChild("Zombie").Died:Connect(function() player.RealMoney.Value = player.RealMoney.Value + 1000 end) end end)