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)