if script.Parent.Died() then
script.Parent.Parent.Head.Blood.Enabled = true
script.Parent.Parent.Invisibility.Disabled = true
script.Parent.Parent.MonsterScript.Disabled = true
script.Parent.Parent.Void.Disabled = true
script.Parent.Parent.Head.Transparency = 1
game.Workspace.Fakes:Remove()
game.ServerScriptService.CloneReaper.Disabled = true
game.Workspace.Baseplate.ParticleEmitter:Remove()
game.Lighting.DemonColor:Remove()
game.Lighting.ExposureCompensation = 0
game.Lighting.ClockTime = 14
end
COMMUNITY QUESTION
How do I make a script remove stuff if a enemy dies?
1 answer
if script.Parent.Health <= 0 then
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
The scripts parent?
You should try checking if the humanoid's health is less than or equal too 0. Like this
if script.Parent.Health <= 0 then:Destroy()?