Simple script for PvP/PvE system in PHP