While at Wally World the other day, I found a level with built-in laser. It costs about $39. It has a magnetic base and a laser that can be configured to project a dot or crosshairs.
For an AR flat top, before mounting your scope just slap the level on top of the rail (laser pointing forward over the muzzle), turn the laser on with the crosshair configuration, and line up the laser with a straightght line (use indoors only as the laser is not bright enough to use outdoors) such as a door frame, wall corner, etc.
Firmly secure the gun in this orientation (the Tipton Gun Vise works fine for this).
Mount your scope and align the vertical crosshairs in your scope with the same vertical feature to which you aligned the laser. If you did not move the gun during the scope mounting process:
Voila! Scope and gun are aligned!
Note: This only provides vertical alignment and is NOT a method for bore sighting.
Note 2: As long as the scope, rifle and laser are aligned to the same straight line feature, it is not necessary that the feature be perfectly plumb.
HTH