I got a request a week ago to look into the pet phasing on the phased duel script from a while ago and now I checked it and it was pretty simple.
Decided to release the script as I cant see one released and even if there is one, it doesnt have the proper solution for the pet phasing.
This script also wont make the players lose their targets upon entering the phase.
What it does?
The script gets all players from 100 yard radius ( duel radius is 40-50 yd )
Checks what phases they use and then tries to find an unique unused phase.
If one is found, the duelers will be phased to that phase. Also their pets and the duel flag will be phased.
Their phases will be restored after duel ends.