What license to use in my Code ?

Hey there, so I am working on a PHP Script which I’ll be selling on codecanyon but I want to know what license I should use if I don’t want someone to resell my script after modifications or maybe copy the main core functions of the project and resell it with new name or something. By license I mean like GPL, MIT, etc.