..........Will it be worth it to put up with a Trump Presidency for 4 years in exchange for having a conservative Supreme Court and for having Republican friendly legislation passed?
No. Ignoring the fact that the premise of having a conservative Supreme Court would be a result of a Trump presidency is certainly not a sure thing, at some point Republicans need to start putting the good of the country before the party. A Trump presidency will do irreparable harm, and this idea that "The more sane candidate lost in the primary, so now we have a duty to support the crazy Republican who is the nominee" is how the Tea Party largely came to have the influence it has today.
Trump in the White House will mean that the country has placed its stamp of approval on xenophobia, bigotry, and fear as the drivers of our public policy, and that is something that won't be undone for decades. If it means that we have to sacrifice conservatism on the Supreme Court to avoid that, then so be it.