Camera spazzing out, as well as render method not working as intended

Never mind, I have figured out what the problem was. Could someone remove this?