If I want to sell my game would this be legal?

So what would happen if i started with watching tutorials but then I started creating my own models in blender and creating my own scripts in addition with said scripts created in the tutorial and then chose to sell the game/add micro transactions? Im making a pretty decent game with really unique enemies and what not and would like to know if its legal to sell if I started off by watching some tutorials to get pointed in the “right” direction.

From your question it seems you are using someone else’s code. You would have to write to that person for permission as I expect there was no stipulation on the video as to which license the code is under.