Need Help Successfully Unsoft Bricking

Wait 5 sec.

my phone is the oneplus 13r global version i bought from amazon like a week ago. i attempted to flash an image i think was bad using magisk. the phone only loads into recovery at the moment. thank you for the help! i also may need help finishing patching the image cus i want to take advantage of game guardian and do a few custom patches for the always on and other things.