So I figured out what I was doing wrong.
I was using .GetType() when I needed to be using .GetClass()
I spent an hour searching and minutes after posting this I found a thread with the answer.
https://discussions.unity.com/t/add-script-component-to-game-object-from-c/590211 Heres the link I suppose