frontstiffness=1290*StiffnessFront frontdamping=(40*StiffnessFront)/1.5 rearstiffness=1290*StiffnessRear reardamping=(40*StiffnessRear)/1.5 minLF=SuspensionTravelF minLR=SuspensionTravelR maxL=(RideHeightRear+RideHeightFront)/2+4 ffl=RideHeightFront+2 rfl=RideHeightRear+2 local G=Instance.new("\083\112\114\105\110\103\067\111\110\115\116\114\097\105\110\116",SFL)G.Attachment0=SFL.Attachment G.Attachment1=SSML.Attachment G.Damping=frontdamping G.FreeLength=ffl G.Stiffness=frontstiffness G.Visible=false G.LimitsEnabled=true G.MinLength=minLF G.MaxLength=maxL local R=Instance.new("\083\112\114\105\110\103\067\111\110\115\116\114\097\105\110\116",SFR)R.Attachment0=SFR.Attachment R.Attachment1=SSMR.Attachment R.Damping=frontdamping R.FreeLength=ffl R.Stiffness=frontstiffness R.Visible=false R.LimitsEnabled=true R.MinLength=minLF R.MaxLength=maxL local d=Instance.new("\083\112\114\105\110\103\067\111\110\115\116\114\097\105\110\116",SRL)d.Attachment0=SRL.Attachment d.Attachment1=BRL.Attachment d.Damping=reardamping d.FreeLength=rfl d.Stiffness=rearstiffness d.Visible=false d.LimitsEnabled=true d.MinLength=minLR d.MaxLength=maxL local q=Instance.new("\083\112\114\105\110\103\067\111\110\115\116\114\097\105\110\116",SRR)q.Attachment0=SRR.Attachment q.Attachment1=BRR.Attachment q.Damping=reardamping q.FreeLength=rfl q.Stiffness=rearstiffness q.Visible=false q.LimitsEnabled=true q.MinLength=minLR q.MaxLength=maxL local E=Instance.new("\072\105\110\103\101\067\111\110\115\116\114\097\105\110\116",SSL)E.Attachment0=SSL.Attachment E.Attachment1=SSML.Attachment E.ActuatorType="\077\111\116\111\114"E.LimitsEnabled=true E.LowerAngle=SteeringAngle*-1 E.UpperAngle=SteeringAngle E.MotorMaxTorque=200000 local A=Instance.new("\072\105\110\103\101\067\111\110\115\116\114\097\105\110\116",SSR)A.Attachment0=SSR.Attachment A.Attachment1=SSMR.Attachment A.ActuatorType="\077\111\116\111\114"A.LimitsEnabled=true A.LowerAngle=SteeringAngle*-1 A.UpperAngle=SteeringAngle A.MotorMaxTorque=200000 local c=Instance.new("\066\111\100\121\071\121\114\111")c.Parent=xSSL c.Name="\071\121\114\111"c.D=180 c.MaxTorque=Vector3.new(900,0,900)c.P=300 local o=Instance.new("\066\111\100\121\071\121\114\111")o.Parent=xSSR o.Name="\071\121\114\111"o.D=180 o.MaxTorque=Vector3.new(900,0,900)o.P=300 local F=Instance.new("\066\111\100\121\071\121\114\111",script.Parent)F.Name="\070\108\105\112"F.D=1000 F.MaxTorque=Vector3.new(0,0,0)F.P=30000
--Springs--

frontstiffness = 1290 * StiffnessFront
frontdamping = 40 * StiffnessFront / 1.5
rearstiffness = 1290 * StiffnessRear
reardamping = 40 * StiffnessRear / 1.5

minLF = SuspensionTravelF
minLR = SuspensionTravelR
maxL = ((RideHeightRear + RideHeightFront) / 2) + 4

ffl = RideHeightFront + 2
rfl = RideHeightRear + 2

local springFL = Instance.new("SpringConstraint", SFL)
springFL.Attachment0 = SFL.Attachment
springFL.Attachment1 = SSML.Attachment
springFL.Damping = frontdamping
springFL.FreeLength = ffl
springFL.Stiffness = frontstiffness
springFL.Visible = false
springFL.LimitsEnabled = true
springFL.MinLength = minLF
springFL.MaxLength = maxL

local springFR = Instance.new("SpringConstraint", SFR)
springFR.Attachment0 = SFR.Attachment
springFR.Attachment1 = SSMR.Attachment
springFR.Damping = frontdamping
springFR.FreeLength = ffl
springFR.Stiffness = frontstiffness
springFR.Visible = false
springFR.LimitsEnabled = true
springFR.MinLength = minLF
springFR.MaxLength = maxL

local springRL = Instance.new("SpringConstraint", SRL)
springRL.Attachment0 = SRL.Attachment
springRL.Attachment1 = BRL.Attachment
springRL.Damping = reardamping
springRL.FreeLength = rfl
springRL.Stiffness = rearstiffness
springRL.Visible = false
springRL.LimitsEnabled = true
springRL.MinLength = minLR
springRL.MaxLength = maxL

local springRR = Instance.new("SpringConstraint", SRR)
springRR.Attachment0 = SRR.Attachment
springRR.Attachment1 = BRR.Attachment
springRR.Damping = reardamping
springRR.FreeLength = rfl
springRR.Stiffness = rearstiffness
springRR.Visible = false
springRR.LimitsEnabled = true
springRR.MinLength = minLR
springRR.MaxLength = maxL

local XSteeringL = Instance.new("HingeConstraint", SSL)
XSteeringL.Attachment0 = SSL.Attachment
XSteeringL.Attachment1 = SSML.Attachment
XSteeringL.ActuatorType = "Motor"
XSteeringL.LimitsEnabled = true
XSteeringL.LowerAngle = SteeringAngle * -1
XSteeringL.UpperAngle = SteeringAngle
XSteeringL.MotorMaxTorque = 200000

local XSteeringR = Instance.new("HingeConstraint", SSR)
XSteeringR.Attachment0 = SSR.Attachment
XSteeringR.Attachment1 = SSMR.Attachment
XSteeringR.ActuatorType = "Motor"
XSteeringR.LimitsEnabled = true
XSteeringR.LowerAngle = SteeringAngle * -1
XSteeringR.UpperAngle = SteeringAngle
XSteeringR.MotorMaxTorque = 200000

local BGL = Instance.new("BodyGyro")
BGL.Parent = xSSL
BGL.Name = "Gyro"
BGL.D = 180
BGL.MaxTorque = Vector3.new(900, 0, 900)
BGL.P = 300

local BGR = Instance.new("BodyGyro")
BGR.Parent = xSSR
BGR.Name = "Gyro"
BGR.D = 180
BGR.MaxTorque = Vector3.new(900, 0, 900)
BGR.P = 300

local flip = Instance.new("BodyGyro", script.Parent)
flip.Name = "Flip"
flip.D = 1000
flip.MaxTorque = Vector3.new(0, 0, 0)
flip.P = 30000
