I was thinking of just jumping into a engine but I want to be able to write the code for my own game(not a engine just my own scripts).
Unity. I'm surprised no one else mentioned it sooner. The scripting API for Unity is fantastic, any question you have will have been answered on StackOverflow and C# is a very good language to learn. I think because Unity's very visual too it's a great introduction. Try out the beginner & intermediate tutorials on their website.
Although in Unity what you're writing is indeed just scripts, I think it'd be best for where you're at. However if you're unsure, C++ is never a bad option. It's the go-to language for the games industry and although some studios will produce mobile/web games in different languages, I don't think you can go wrong with it. Check out SFML for a decent 2D kit although there're a plethora of others.