Fixed conflict with PlayerInteractEvent and menu scripts by moving execution of the script to next tick