As a year 12, i get your position so if it was absolutely necessary and counted towards your grade I'd do it, i'd probably put it on spinbot, get chatgpt to help me submit it.
But considering the fact you're in yr 12, is it rly worth it? Better to do it urself, get a bad grade and take is as a lesson to do your work beforehand so any questions can be answered at least 4 days b4 the assignment is due yk?
Me personally, id use my friend's work from last year as an inspiration for what I could come up with yk? Changing the words wont make it NOT plagiarism, still plagiarism since they ideas and concepts are the same ygm? I'd maybe use one or two ideas but in general use it as inspo!
Talking ab chatgpt, its a great place for advice! Could've asked it to help you plan out your essay? It's technically not cheating since you still need to come up with your own words but it'd give you enough help to not be stuck yk?
Next time (assuming you have already turned in your friends assignment) just do it urself, i used to turn in my friends assignment in year 11 and it never helps ngl.
Though ngl the ppl who replied under your post r kinda pretentious, acting like they never cheated (which I bet they did
T-T). Some people are just so rude to people, idk why they're so offended by your questions. I mean educate them instead of acting so up-right and stuck up (Admit-One im looking at you, i get what OP said is very dumb but they genuinely wanted to weigh out the pros and cons, not be attacked by you and your stuck up comments)