I'm making some kind of rocket launcher which damages any players inside of the explosion radius but I tryed to do it in many ways.
local explosion = Instance.new("Explosion")
explosion.BlastPressure = blastpressure
explosion.BlastRadius = blastradius
explosion.DestroyJointRadiusPercent = 0
explosion.ExplosionType = 0
explosion.Position = missile.Position
explosion.Visible = false
explosion.Parent = game.Workspace
local function banana(part, damage, distance, hit)
wait()
fired = false
-- the part where im trying to find how :O
explosion.Hit:connect(banana)

3 comments
and yes this is inside of a function
loop through all players and see how close they are to the explosion using (Vector3).Magnitude
how would I do that?