So I have this script, and its supposed to explode the part when it haves under 5 health, but nothing happens! Please halp D;
local highDmg = script.Parent.Parent.ParticlePart.HighDamage local air = script.Parent.Parent.ParticlePart.Air if script.Parent.Parent.Humanoid.Health <= 50 and script.Parent.Parent.Humanoid.Health <= 5 then highDmg.Enabled = true if script.Parent.Parent.Humanoid.Health <= 5 then local explosion = Instance.new("Explosion") explosion.Position = game.Workspace.Vent.Torso.Position explosion.BlastPressure = 500000 explosion.BlastRadius = 10 end end