I think that I have a backdoor script in my game

Just delete the script itself. Or remove the unwanted parts of the script.