I need help with making explosions doing damage without breaking joints

how would i make explosions do damage without breaking joints, i’ve already done the non breaking joints thing, but i can’t figure out how to make the explosion do damage

the script:

ball = script.Parent

damage = 50

function tagHumanoid(humanoid)

local tag = ball:findFirstChild("creator")

if tag ~= nil then

	local new_tag = tag:clone()

	new_tag.Parent = humanoid

end

end

function onTouched(hit)

if math.random(1,2) == 1 then
	local explosion = Instance.new("Explosion")
	
	explosion.DestroyJointRadiusPercent = 0
	
	explosion.BlastRadius = 12

	explosion.BlastPressure = 500000 
		
	explosion.Hit:Connect(function(hit)
		if hit.Parent:FindFirstChild("Humanoid") then
			tagHumanoid(hit.Parent.Humanoid)
		end	
	end)

	explosion.Position = script.Parent.Position

	explosion.Parent = game.Workspace
		
	connection:disconnect()

	ball:Destroy()
end	

end

connection = ball.Touched:connect(onTouched)

manually damage hit.Parent.Humanoid using the function hum:TakeDamage(damage)

Make humanoid.BreakJointsOnDeath to false