Using AlignOrientation to make a bike stand upright

I am making a motorbike in roblox and obviously it only has two wheels. I don’t want to use PID for balancing because it is far too complicated and my bike is not configured correctly for PID. Is there any way i can use AlignOrientation to make the bike face upright and not fall over (I have no clue how to use AlignOrientation)

If anyone is wondering, the bike is made of one central union part that connects to the supports for the wheels, and the wheels use hingeconstraint for movement and turning

Have you read the Class documentation about AlignOrientation and the Constraint explanation of AlignOrientation

There are also quite a few posts about using AlignOrientation in the forums if you use the Search tool up top.

Oh, yea, i completely forgot about that. Il check it out