if (global.spectator && instance_exists(oCharacter) && distance_to_object(oCharacter) < 50) event_user(0)