Explosion damage radius and multi hit

I have an explosive projectile, the explosion only damages when it touches, I want it to have a blast radius that damages you if your in the blast radius, changing the blast radius didn’t work. It also doesn’t damage multiple people.

Also I have to have debounce or it instantly kills because it registers the hit like 7 times.

local Explosion = Instance.new("Explosion")
Explosion.Parent = game.Workspace.FlyingSpells
Explosion.BlastPressure = 100
Explosion.BlastRadius = 10000
Explosion.DestroyJointRadiusPercent = 0
Explosion.Position = hitpos
Explosion.ExplosionType = "NoCraters"
local db = false
Explosion.Hit:Connect(function()
	if db == false then
		db = true
		if Hum then
			Hum:TakeDamage(explosiondamage)
		end
		wait(.1)
		db = false
	end
end)

Explosion.Hit is fired for each part that is within the BlastRaidus, through it’s second parameter you are told which part has been hit, by doing Explosion.Hit:Connect(function(Hit) you can check if Hit.Parent contains a Humanoid and deal the damage that way. (You should always Parent last, after setting the properties.)

2 Likes

Do you know how I would achieve damaging multiple enemy’s?