Can you provide a little more context? It looks like you have a 10% chance of creating a bomb, but I can't tell where it's being placed.
One method you could try is to check the proximity to other bombs before placing a new one. Something like this:
func is_bomb_position_valid(new_position: Vector2) -> bool:
var distance_threshold = 10.0
for bomb in get_tree().get_nodes_in_group("bomb"):
if bomb.global_position.distance_to(new_position) < distance_threshold:
return false
return true
This is not a very optimized approach, but hopefully it will point you in the right direction.
If you're using tiles you could also check only the immediate neighboring tiles.