So after quite a bit of research on how to detect collisions of non moving and non collidable parts I discovered the Separating Axis Theorem. Which is described here I understand that concept and how it works, but what I don't understand is how they find the line to separate the rectangles.
So my questions are how exactly do they go about finding the line and how would one implement it into Roblox Lua.
(Answering the first question is more important to me, and so if you are maybe not the best at Lua but you are good at math, I would still love for the help.)

4 comments
Which line from that article are you refering to, exactly? I'm looking through it, but there seem to be a couple ones that you meant.
I mean how do you go from having 2 rectangles to a line that if is possible will go between the two rectangles.
So, create 2 rectangle and where the collision is located, a line (Like a part) will be placed on that intersection?
Well ... what it is suppose to do is look for a line through the middle of the two rotated rectangles and if that line exists then they must not be intersecting/colliding.