Make a square out of stone Dino gates with doors. Lead it in and have a friend close the door behind it. Simply just tranq it till it's out and you got a rex.

More Rex Taming & KO Tips