I might be thinking of doing some type of part raycast, but I want to know if there is a more simpler way to make this type of concept. I've seen it in other games and I wanted to give it a try.
You can check a distance using magnitude:
1 | magnitude = (first parts position - second part's position).magnitude |
Based on that number value, you can determine how big you want your explosion.
AetherProgrammer was talking about his tutorial he made for it about an hour ago - https://forum.scriptinghelpers.org/topic/763/how-magnitude-works-in-layman-s-terms