Legally, the situation is complex. While trainers themselves are not illegal, using them to gain an advantage in a multiplayer game can violate the game's terms of service, potentially leading to legal consequences.