local deb = false
script.Parent.Died:Connect(function()
if deb == false then
deb = true
game.ReplicatedStorage.DeathEvent:FireAllClients()
wait(1)
deb = false
end
end)
so in this script when u kill the npc it gives u money but when the npc dies it doesnt respawn.