Kevin Hart as Shrek