Taks movement to different project and replace tags



I do have a problem and I need help with Apple script to do following in OmniFocus 3

I have a task in a project “A” with two tag (“apple”, “pear”), so I would need a script which moves selected task to a project “B” and delete tags (“apple”, “pear”) a set new tag (“lemon”)

I do not have a lot of expirience so I thank you for your help