--Setup animation here--
setup(animation.ControlSurfaces.ElevatorL,0.03)
setup(animation.ControlSurfaces.ElevatorR,0.03)
setup(animation.ControlSurfaces.Rudder,0.03)
setupInside(animation.Wings.WFL.Aileron,0.03)
setupInside(animation.Wings.WFR.Aileron,0.03)
setupInside(animation.Gears.NG.Wheel,0.03)
setup(animation.Wipers.L,0.05)
setup(animation.Wipers.R,0.05)
setup(animation.Engines.E1)
setup(animation.Engines.E2)
setup(animation.Doors.FLD,0.01)
setup(animation.Doors.FRD,0.01)
setup(animation.Doors.RLD,0.01)
setup(animation.Doors.RRD,0.01)
setup(animation.Doors.CD1,0.01)
setup(animation.Doors.CD2,0.01)
setupInside(animation.Doors.FLD.Door,0.01)
setupInside(animation.Doors.FRD.Door,0.01)
setupInside(animation.Doors.RLD.Door,0.01)
setupInside(animation.Doors.RRD.Door,0.01)
setup(animation.Wings.WRL)
setup(animation.Wings.WRR)
setup(animation.Wings.WFL,0.002)
setup(animation.Wings.WFR,0.002)
setup(animation.Gears.NG,0.005)
setup(animation.Gears.LG,0.005)
setup(animation.Gears.RG,0.005)
setupInside(animation.Gears.LG.S,0.005)
setupInside(animation.Gears.RG.S,0.005)
setup(animation.Gears.NGDL1,0.015)
setup(animation.Gears.NGDR1,0.015)
setup(animation.Gears.NGDL2,0.015)
setup(animation.Gears.NGDR2,0.015)
setup(animation.Gears.LGD,0.005)
setup(animation.Gears.RGD,0.005)
setupInside(animation.Gears.LGD.GD2)
setupInside(animation.Gears.RGD.GD2)
setup(animation.Gears.LGBD,0.015)
setup(animation.Gears.RGBD,0.015)
setupInside(animation.Wings.WFL.Flap,0.002)
setupInside(animation.Wings.WRL.Flap,0.002)
setupInside(animation.Wings.WFR.Flap,0.002)
setupInside(animation.Wings.WRR.Flap,0.002)
setupInside(animation.Wings.WFL.Fairing,0.002)
setupInside(animation.Wings.WFR.Fairing,0.002)
setupInside(animation.Wings.WRL.Fairing,0.002)
setupInside(animation.Wings.WRR.Fairing,0.002)
setupInside(animation.Wings.WFL.Slat,0.002)
setupInside(animation.Wings.WRL.Slat,0.002)
setupInside(animation.Wings.WFR.Slat,0.002)
setupInside(animation.Wings.WRR.Slat,0.002)
setupInside(animation.Wings.WFL.Spoiler,0.01)
setupInside(animation.Wings.WRL.Spoiler,0.01)
setupInside(animation.Wings.WFR.Spoiler,0.01)
setupInside(animation.Wings.WRR.Spoiler,0.01)
setup(animation.Light,0.01)
setup(animation.Instruments.GearLever,0.05)
setup(animation.Instruments.Throttle,0.03)
setup(animation.Instruments.JotStick1,0.03)
setupInside(animation.Instruments.JotStick1.Roll,0.03)
setupInside(animation.Instruments.JotStick1.Roll.PitchStick,0.03)
setupInside(animation.Instruments.JotStick1.Roll.PitchStick.RollStick,0.03)
setup(animation.Instruments.JotStick2,0.03)
setupInside(animation.Instruments.JotStick2.Roll,0.03)
setupInside(animation.Instruments.JotStick2.Roll.PitchStick,0.03)
setupInside(animation.Instruments.JotStick2.Roll.PitchStick.RollStick,0.03)
setup(animation.Instruments.Rudder1,0.03)
setup(animation.Instruments.Rudder2,0.03)
setup(animation.Instruments.Spoiler,0.03)
setup(animation.Instruments.Flap,0.03)
setup(animation.Doors.Cockpit,0.05)
setup(animation.Doors.PilotRestroom,0.05)
setup(animation.Doors.Restroom1,0.05)
setup(animation.Doors.Restroom2,0.05)
setup(animation.EmergencyExits.One)
setup(animation.EmergencyExits.Two)
setup(animation.EmergencyExits.Three)
setup(animation.EmergencyExits.Four)
setup(animation.Slides.FL)
setup(animation.Slides.FR)
setup(animation.Slides.RL)
setup(animation.Slides.RR)
setup(animation.Slides.WL)
setup(animation.Slides.WR)
setupInside(animation.Slides.FL.Parts)
setupInside(animation.Slides.FR.Parts)
setupInside(animation.Slides.RL.Parts)
setupInside(animation.Slides.RR.Parts)
setupInside(animation.Slides.WL.Parts)
setupInside(animation.Slides.WR.Parts)
setupInside(animation.Slides.FL.CanCollide)
setupInside(animation.Slides.FR.CanCollide)
setupInside(animation.Slides.RL.CanCollide)
setupInside(animation.Slides.RR.CanCollide)
setupInside(animation.Slides.WL.CanCollide)
setupInside(animation.Slides.WR.CanCollide)
setup(animation.Reversers) -- IAE and neo
wait(2)
animation.Engines.E1.A.Motor.DesiredAngle = 100e100
animation.Engines.E2.A.Motor.DesiredAngle = 100e100
animation.Gears.NGDL1.A.Motor.DesiredAngle = 1
animation.Gears.NGDR1.A.Motor.DesiredAngle = 1
animation.Gears.LGD.A.Motor.DesiredAngle = 1.45
animation.Gears.RGD.A.Motor.DesiredAngle = 1.45
animation.Gears.LGD.GD2.A.Motor.C1 = animation.Gears.LGD.GD2.A.Motor.C1 * CFrame.new(1.5,0,0)
animation.Gears.RGD.GD2.A.Motor.C1 = animation.Gears.RGD.GD2.A.Motor.C1 * CFrame.new(1.5,0,0)
animation.Wings.WFL.Aileron.A.Motor.DesiredAngle = 0.5
animation.Wings.WFR.Aileron.A.Motor.DesiredAngle = -0.5
animation.ControlSurfaces.ElevatorL.A.Motor.DesiredAngle = -0.3
animation.ControlSurfaces.ElevatorR.A.Motor.DesiredAngle = -0.3
animation.ControlSurfaces.Rudder.A.Motor.DesiredAngle = 0.2
wait(5)
unAnchor(script.Parent.AnimationParts)
Chassis.Anchored = false