This is a re-incarnation of cocoasudo based on this fork (which is slightly more up-to-date...)!
This version uses NSAuthenticatedTask which is like Apple's NSTask but with the ability to launch a task as root and uses newest, and recommended way of doing this (using SMJobBlessHelper and XPC).
Theoretically, this project is ready, though NSAuthenticatedTask is not... This means that the project will wait until NSAuthenticatedTask is fully functional. At the meantime though, you can actually run scripts/apps as root -but only that- :).
See license.txt