ok to better answer your question can you capture and post the bluescreen here? so i can actually see the error code? and i can tell you what's wrong
Commonly with third party hack software. sometimes adding something not meant to be can cause defender or other protections within defender to trigger.
IF this game uses memory or loads into memory or this script does.. as some games...
This Bluescreen and this script could be a (Data execution prevention) issue. try adding hack software into windows defenders exclusions. and adding exceptions in exploit protection.. to prevent security software from causing issues with this type of software.