How do I stabilize this?

Hi, so basically uh…

if Stabilize == true then 
		Dampening.Torque = Vector3.new(-Seat.AssemblyAngularVelocity.X * DampeningMultiplier,-Seat.AssemblyAngularVelocity.Y * DampeningMultiplier,-Seat.AssemblyAngularVelocity.Z * DampeningMultiplier)
	elseif Stabilize == false then
		Dampening.Torque = Vector3.new(0,0,0)
	end

after 5 seconds of stabilizing itself, it decides to flip out…?

local DampeningMultiplier = 5000000
-- anything lower and it doesn't stabilize the plane at all,
-- the dampening is meant to stop the plane from rotating in whatever direction it pleases

help?

I am wondering why is there a -

it’s because I was trying to make it the angular velocity but reversed, basically like angular drag, if the plane rotates, the dampener is meant to stop it.

Oh yeah right, I don’t think its wrong with your script.
Something else might be causing that. Likely caused by the plane script itself
you could try to add something where when the starbilize is true it keeps the torque, I am not experienced with this at all ,but are you sure its because of this script?

Well I’m not sure that’s why I’m asking devforum, I also don’t really have a better alternative to using Torque so I’m not sure.