GML-Classes is a script that provides some OOP functionality that allows you to define classes, their constructor and destructor, and call parent methods in overridden methods.
To start using it, just add this script to your project.
Works only in GameMaker Studio 2.3+
Also available on GameMaker Marketplace
Check out the documentation