local l=bike.FrontSection.TripleTreeHinge:Clone()l.Parent=bike.FrontSection l.Name="\070\114\111\110\116\083\117\115\112\101\110\115\105\111\110\066\097\115\101"if _Tune.FBricksVisible or _Tune.Debug then l.Transparency=.75 else l.Transparency=1 end l.Orientation=bike.FrontSection.TripleTreeHinge.Orientation l.CFrame=l.CFrame+Vector3.new(_Tune.FBaseOffset[1],_Tune.FBaseOffset[1],_Tune.FBaseOffset[1])*l.CFrame.rightVector l.CFrame=l.CFrame+Vector3.new(_Tune.FBaseOffset[2],_Tune.FBaseOffset[2],_Tune.FBaseOffset[2])*l.CFrame.upVector l.CFrame=l.CFrame+Vector3.new(_Tune.FBaseOffset[3],_Tune.FBaseOffset[3],_Tune.FBaseOffset[3])*l.CFrame.lookVector local E=axle2:Clone()E.Parent=bike.FrontSection E.Name="\070\114\111\110\116\083\117\115\112\101\110\115\105\111\110\065\120\108\101"if _Tune.FBricksVisible or _Tune.Debug then E.Transparency=.75 else l.Transparency=1 end E.Orientation=bike.FrontSection.TripleTreeHinge.Orientation E.CFrame=E.CFrame+Vector3.new(_Tune.FAxleOffset[1],_Tune.FAxleOffset[1],_Tune.FAxleOffset[1])*E.CFrame.rightVector E.CFrame=E.CFrame+Vector3.new(_Tune.FAxleOffset[2],_Tune.FAxleOffset[2],_Tune.FAxleOffset[2])*E.CFrame.upVector E.CFrame=E.CFrame+Vector3.new(_Tune.FAxleOffset[3],_Tune.FAxleOffset[3],_Tune.FAxleOffset[3])*E.CFrame.lookVector E.CustomPhysicalProperties=PhysicalProperties.new(0,0,0,.1,.1)local O=Instance.new("\065\116\116\097\099\104\109\101\110\116",l)local u=Instance.new("\065\116\116\097\099\104\109\101\110\116",E)local I=axle:Clone()I.Parent=bike.Body I.Name="\082\101\097\114\083\117\115\112\101\110\115\105\111\110\066\097\115\101"if _Tune.RBricksVisible or _Tune.Debug then I.Transparency=.75 else I.Transparency=1 end I.Orientation=bike.RearSection.RearSwingArmHinge.Orientation I.CFrame=I.CFrame+Vector3.new(_Tune.RBaseOffset[1],_Tune.RBaseOffset[1],_Tune.RBaseOffset[1])*I.CFrame.rightVector I.CFrame=I.CFrame+Vector3.new(_Tune.RBaseOffset[2],_Tune.RBaseOffset[2],_Tune.RBaseOffset[2])*I.CFrame.upVector I.CFrame=I.CFrame+Vector3.new(_Tune.RBaseOffset[3],_Tune.RBaseOffset[3],_Tune.RBaseOffset[3])*I.CFrame.lookVector local J=Instance.new("\065\116\116\097\099\104\109\101\110\116",axle)local q=Instance.new("\065\116\116\097\099\104\109\101\110\116",rWheel)local c=Instance.new("\072\105\110\103\101\067\111\110\115\116\114\097\105\110\116",axle)c.Attachment0=J c.Attachment1=q c.ActuatorType="\077\111\116\111\114"c.MotorMaxAcceleration=9000000000.0 local n=Instance.new("\065\116\116\097\099\104\109\101\110\116",I)local x=Instance.new("\083\112\114\105\110\103\067\111\110\115\116\114\097\105\110\116",I)x.Attachment0=J x.Attachment1=n x.Visible=_Tune.RConstsVisible or _Tune.Debug x.LimitsEnabled=true x.Damping=_Tune.RSusDamping x.Stiffness=_Tune.RSusStiffness x.FreeLength=_Tune.RSusLength+_Tune.RPreComp x.MaxLength=_Tune.RSusLength+_Tune.RExtLimit x.MinLength=_Tune.RSusLength-_Tune.RCompLimit local o=Instance.new("\083\112\114\105\110\103\067\111\110\115\116\114\097\105\110\116",l)o.Attachment0=u o.Attachment1=O o.Visible=_Tune.FConstsVisible or _Tune.Debug o.LimitsEnabled=true o.Damping=_Tune.FSusDamping o.Stiffness=_Tune.FSusStiffness o.FreeLength=_Tune.FSusLength+_Tune.FPreComp o.MaxLength=_Tune.FSusLength+_Tune.FExtLimit o.MinLength=_Tune.FSusLength-_Tune.FCompLimit local z=Instance.new("\080\114\105\115\109\097\116\105\099\067\111\110\115\116\114\097\105\110\116",l)z.Attachment0=O z.Attachment1=u z.Visible=_Tune.FConstsVisible or _Tune.Debug z.LimitsEnabled=true z.UpperLimit=_Tune.FSusLength+_Tune.FExtLimit z.LowerLimit=_Tune.FSusLength-_Tune.FCompLimit local y=Instance.new("\065\116\116\097\099\104\109\101\110\116",axle2)local t=Instance.new("\065\116\116\097\099\104\109\101\110\116",fWheel)local F=Instance.new("\072\105\110\103\101\067\111\110\115\116\114\097\105\110\116",axle2)F.Attachment0=y F.Attachment1=t F.ActuatorType="\077\111\116\111\114"F.MotorMaxAcceleration=9000000000.0


local fbaseA = bike.FrontSection.TripleTreeHinge:Clone()
fbaseA.Parent = bike.FrontSection
fbaseA.Name = "FrontSuspensionBase"
if _Tune.FBricksVisible or _Tune.Debug then fbaseA.Transparency = .75 else fbaseA.Transparency = 1 end
fbaseA.Orientation = bike.FrontSection.TripleTreeHinge.Orientation
fbaseA.CFrame = fbaseA.CFrame+(Vector3.new(_Tune.FBaseOffset[1],_Tune.FBaseOffset[1],_Tune.FBaseOffset[1])*fbaseA.CFrame.rightVector)
fbaseA.CFrame = fbaseA.CFrame+(Vector3.new(_Tune.FBaseOffset[2],_Tune.FBaseOffset[2],_Tune.FBaseOffset[2])*fbaseA.CFrame.upVector)
fbaseA.CFrame = fbaseA.CFrame+(Vector3.new(_Tune.FBaseOffset[3],_Tune.FBaseOffset[3],_Tune.FBaseOffset[3])*fbaseA.CFrame.lookVector)

local fbaseB = axle2:Clone()
fbaseB.Parent = bike.FrontSection
fbaseB.Name = "FrontSuspensionAxle"
if _Tune.FBricksVisible or _Tune.Debug then fbaseB.Transparency = .75 else fbaseA.Transparency = 1 end
fbaseB.Orientation = bike.FrontSection.TripleTreeHinge.Orientation
fbaseB.CFrame = fbaseB.CFrame+(Vector3.new(_Tune.FAxleOffset[1],_Tune.FAxleOffset[1],_Tune.FAxleOffset[1])*fbaseB.CFrame.rightVector)
fbaseB.CFrame = fbaseB.CFrame+(Vector3.new(_Tune.FAxleOffset[2],_Tune.FAxleOffset[2],_Tune.FAxleOffset[2])*fbaseB.CFrame.upVector)
fbaseB.CFrame = fbaseB.CFrame+(Vector3.new(_Tune.FAxleOffset[3],_Tune.FAxleOffset[3],_Tune.FAxleOffset[3])*fbaseB.CFrame.lookVector)
fbaseB.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0.1,0.1)

local faxlea = Instance.new("Attachment", fbaseA)
local fwheela = Instance.new("Attachment", fbaseB)

local rbase = axle:Clone()
rbase.Parent = bike.Body
rbase.Name = "RearSuspensionBase"
if _Tune.RBricksVisible or _Tune.Debug then rbase.Transparency = .75 else rbase.Transparency = 1 end
rbase.Orientation = bike.RearSection.RearSwingArmHinge.Orientation
rbase.CFrame = rbase.CFrame+(Vector3.new(_Tune.RBaseOffset[1],_Tune.RBaseOffset[1],_Tune.RBaseOffset[1])*rbase.CFrame.rightVector)
rbase.CFrame = rbase.CFrame+(Vector3.new(_Tune.RBaseOffset[2],_Tune.RBaseOffset[2],_Tune.RBaseOffset[2])*rbase.CFrame.upVector)
rbase.CFrame = rbase.CFrame+(Vector3.new(_Tune.RBaseOffset[3],_Tune.RBaseOffset[3],_Tune.RBaseOffset[3])*rbase.CFrame.lookVector)

local raxlea = Instance.new("Attachment", axle)
local rwheela = Instance.new("Attachment", rWheel)
local rhinge = Instance.new("HingeConstraint", axle)
rhinge.Attachment0 = raxlea
rhinge.Attachment1 = rwheela
rhinge.ActuatorType = "Motor"
rhinge.MotorMaxAcceleration = 9e9

local rbaseattch = Instance.new("Attachment", rbase)
local rshock = Instance.new("SpringConstraint", rbase)
rshock.Attachment0 = raxlea
rshock.Attachment1 = rbaseattch
rshock.Visible = _Tune.RConstsVisible or _Tune.Debug
rshock.LimitsEnabled = true
rshock.Damping = _Tune.RSusDamping
rshock.Stiffness = _Tune.RSusStiffness
rshock.FreeLength = _Tune.RSusLength+_Tune.RPreComp
rshock.MaxLength = _Tune.RSusLength+_Tune.RExtLimit
rshock.MinLength = _Tune.RSusLength-_Tune.RCompLimit

local fshock = Instance.new("SpringConstraint", fbaseA)
fshock.Attachment0 = fwheela
fshock.Attachment1 = faxlea
fshock.Visible = _Tune.FConstsVisible or _Tune.Debug
fshock.LimitsEnabled = true
fshock.Damping = _Tune.FSusDamping
fshock.Stiffness = _Tune.FSusStiffness
fshock.FreeLength = _Tune.FSusLength+_Tune.FPreComp
fshock.MaxLength = _Tune.FSusLength+_Tune.FExtLimit
fshock.MinLength = _Tune.FSusLength-_Tune.FCompLimit

local fpris = Instance.new("PrismaticConstraint", fbaseA)
fpris.Attachment0 = faxlea
fpris.Attachment1 = fwheela
fpris.Visible = _Tune.FConstsVisible or _Tune.Debug
fpris.LimitsEnabled = true
fpris.UpperLimit = _Tune.FSusLength+_Tune.FExtLimit
fpris.LowerLimit = _Tune.FSusLength-_Tune.FCompLimit

local faxleb = Instance.new("Attachment", axle2)
local fwheelb = Instance.new("Attachment", fWheel)
local fhinge = Instance.new("HingeConstraint", axle2)
fhinge.Attachment0 = faxleb
fhinge.Attachment1 = fwheelb
fhinge.ActuatorType = "Motor"
fhinge.MotorMaxAcceleration = 9e9
