Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with PenguinAnonymous's compiler
- --PenguinAnonymous is not responsible for damages caused to your game
- --This plugin does not remove things
- --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use
- --If you use this plugin to create your own, please give me credit
- --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
- --Errors: GuiMain
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("Part")
- o4 = Instance.new("Part")
- o5 = Instance.new("WedgePart")
- o6 = Instance.new("WedgePart")
- o7 = Instance.new("WedgePart")
- o8 = Instance.new("Part")
- o9 = Instance.new("Part")
- o10 = Instance.new("Part")
- o11 = Instance.new("Part")
- o12 = Instance.new("WedgePart")
- o13 = Instance.new("Part")
- o14 = Instance.new("Part")
- o15 = Instance.new("Part")
- o16 = Instance.new("Seat")
- o17 = Instance.new("Hole")
- o18 = Instance.new("BodyVelocity")
- o19 = Instance.new("BodyGyro")
- o20 = Instance.new("IntValue")
- o21 = Instance.new("IntValue")
- o22 = Instance.new("Script")
- o23 = Instance.new("HopperBin")
- o24 = Instance.new("Script")
- o26 = Instance.new("TextLabel")
- o27 = Instance.new("TextLabel")
- o28 = Instance.new("TextLabel")
- o29 = Instance.new("TextLabel")
- o30 = Instance.new("TextLabel")
- o31 = Instance.new("TextLabel")
- o32 = Instance.new("TextLabel")
- o33 = Instance.new("TextLabel")
- o34 = Instance.new("TextLabel")
- o35 = Instance.new("TextLabel")
- o36 = Instance.new("TextLabel")
- o37 = Instance.new("IntValue")
- o38 = Instance.new("IntValue")
- o39 = Instance.new("IntValue")
- o40 = Instance.new("IntValue")
- o41 = Instance.new("Script")
- o42 = Instance.new("CFrameValue")
- o43 = Instance.new("Fire")
- o44 = Instance.new("Script")
- o45 = Instance.new("CFrameValue")
- o46 = Instance.new("CFrameValue")
- o47 = Instance.new("Part")
- o48 = Instance.new("WedgePart")
- o49 = Instance.new("Part")
- o50 = Instance.new("WedgePart")
- o1.Parent = mas
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Really black")
- o2.Position = Vector3.new(-73.4656067, 3.5973773, -87.5821228)
- o2.Size = Vector3.new(4, 4.80000067, 1)
- o2.CFrame = CFrame.new(-73.4656067, 3.5973773, -87.5821228, 0.999994636, 1.26506784e-05, 3.76836906e-05, -1.2420147e-05, 0.999993563, 3.75806012e-05, -3.69979171e-05, -3.50649789e-05, 0.999990284)
- o2.BottomSurface = Enum.SurfaceType.Weld
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o2.Position = Vector3.new(-73.4656067, 3.5973773, -87.5821228)
- o3.Parent = o1
- o3.BrickColor = BrickColor.new("Really black")
- o3.Position = Vector3.new(-73.4651184, 0.597865283, -75.0821533)
- o3.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o3.Size = Vector3.new(26, 1.20000005, 4)
- o3.CFrame = CFrame.new(-73.4651184, 0.597865283, -75.0821533, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o3.Position = Vector3.new(-73.4651184, 0.597865283, -75.0821533)
- o4.Parent = o1
- o4.BrickColor = BrickColor.new("Really black")
- o4.Position = Vector3.new(-60.4651566, 1.79770923, -75.0822144)
- o4.Rotation = Vector3.new(-18.5699997, -89.8099976, -18.5699997)
- o4.Size = Vector3.new(4, 2.79999995, 22)
- o4.CFrame = CFrame.new(-60.4651566, 1.79770923, -75.0822144, 4.11100191e-05, 1.38099385e-05, -0.999994636, 5.51943813e-05, 0.999993563, 1.35802584e-05, 0.999990284, -5.26787844e-05, 4.04239508e-05)
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o4.Position = Vector3.new(-60.4651566, 1.79770923, -75.0822144)
- o5.Name = "Part"
- o5.Parent = o1
- o5.BrickColor = BrickColor.new("Bright red")
- o5.Position = Vector3.new(-62.4690628, 0.498530269, -67.8844757)
- o5.Rotation = Vector3.new(-20.9200001, -89.8099976, -110.889999)
- o5.Size = Vector3.new(1, 10.4000015, 18)
- o5.CFrame = CFrame.new(-62.4690628, 0.498530269, -67.8844757, -1.62530432e-05, 4.25925027e-05, -0.999994636, -0.999993563, -4.97908622e-05, 1.60189702e-05, -5.23059825e-05, 0.999990284, 4.19079988e-05)
- o5.BackSurface = Enum.SurfaceType.Weld
- o5.BottomSurface = Enum.SurfaceType.Smooth
- o5.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o5.Position = Vector3.new(-62.4690628, 0.498530269, -67.8844757)
- o6.Name = "Part"
- o6.Parent = o1
- o6.BrickColor = BrickColor.new("Really black")
- o6.Transparency = 0.40000000596046
- o6.Position = Vector3.new(-52.9702835, 4.3977561, -75.0805054)
- o6.Rotation = Vector3.new(160.199997, 89.8099976, -160.220001)
- o6.CanCollide = false
- o6.Size = Vector3.new(4, 2.4000001, 7)
- o6.CFrame = CFrame.new(-52.9702835, 4.3977561, -75.0805054, -4.72162355e-05, 1.69839514e-05, 0.999994636, -5.75399754e-05, 0.999993563, -1.6754715e-05, -0.999990284, -5.50246041e-05, -4.65299345e-05)
- o6.BottomSurface = Enum.SurfaceType.Weld
- o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o6.Position = Vector3.new(-52.9702835, 4.3977561, -75.0805054)
- o7.Name = "Part"
- o7.Parent = o1
- o7.BrickColor = BrickColor.new("Bright red")
- o7.Position = Vector3.new(-62.4695511, 0.500362277, -82.2769775)
- o7.Rotation = Vector3.new(85.3300018, -89.8099976, 175.220001)
- o7.Size = Vector3.new(1, 10.4000015, 18)
- o7.CFrame = CFrame.new(-62.4695511, 0.500362277, -82.2769775, -0.000346851331, -2.90273074e-05, -0.999994576, 0.999993503, 1.47031369e-06, -0.000347082969, 3.99610872e-06, -0.999990284, 2.83406316e-05)
- o7.BackSurface = Enum.SurfaceType.Weld
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o7.Position = Vector3.new(-62.4695511, 0.500362277, -82.2769775)
- o8.Parent = o1
- o8.BrickColor = BrickColor.new("Really black")
- o8.Position = Vector3.new(-58.4651566, 0.197688282, -75.0827026)
- o8.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o8.Size = Vector3.new(4, 0.400000006, 26)
- o8.CFrame = CFrame.new(-58.4651566, 0.197688282, -75.0827026, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o8.BackSurface = Enum.SurfaceType.Weld
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o8.Position = Vector3.new(-58.4651566, 0.197688282, -75.0827026)
- o9.Parent = o1
- o9.BrickColor = BrickColor.new("Really black")
- o9.Transparency = 0.40000000596046
- o9.Position = Vector3.new(-47.4656448, 4.19785118, -73.5830536)
- o9.Rotation = Vector3.new(-18.5699997, -89.8099976, -18.5699997)
- o9.Size = Vector3.new(1, 2, 4)
- o9.CFrame = CFrame.new(-47.4656448, 4.19785118, -73.5830536, 4.04243328e-05, 1.35782475e-05, -0.999994636, 5.26778858e-05, 0.999993563, 1.33484282e-05, 0.999990284, -5.01622853e-05, 3.97383119e-05)
- o9.BottomSurface = Enum.SurfaceType.Weld
- o9.TopSurface = Enum.SurfaceType.Weld
- o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o9.Position = Vector3.new(-47.4656448, 4.19785118, -73.5830536)
- o10.Parent = o1
- o10.BrickColor = BrickColor.new("Really black")
- o10.Transparency = 0.40000000596046
- o10.Position = Vector3.new(-47.4656448, 5.39777231, -75.0830994)
- o10.Rotation = Vector3.new(-18.5699997, -89.8099976, -18.5699997)
- o10.CanCollide = false
- o10.Size = Vector3.new(4, 0.400000006, 4)
- o10.CFrame = CFrame.new(-47.4656448, 5.39777231, -75.0830994, 4.04243328e-05, 1.35782475e-05, -0.999994636, 5.26778858e-05, 0.999993563, 1.33484282e-05, 0.999990284, -5.01622853e-05, 3.97383119e-05)
- o10.BackSurface = Enum.SurfaceType.Weld
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.FrontSurface = Enum.SurfaceType.Weld
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o10.Position = Vector3.new(-47.4656448, 5.39777231, -75.0830994)
- o11.Parent = o1
- o11.BrickColor = BrickColor.new("Really black")
- o11.Transparency = 0.40000000596046
- o11.Position = Vector3.new(-47.4656448, 4.19770145, -76.5830383)
- o11.Rotation = Vector3.new(-18.5699997, -89.8099976, -18.5699997)
- o11.CanCollide = false
- o11.Size = Vector3.new(1, 2, 4)
- o11.CFrame = CFrame.new(-47.4656448, 4.19770145, -76.5830383, 4.04243328e-05, 1.35782475e-05, -0.999994636, 5.26778858e-05, 0.999993563, 1.33484282e-05, 0.999990284, -5.01622853e-05, 3.97383119e-05)
- o11.BottomSurface = Enum.SurfaceType.Weld
- o11.TopSurface = Enum.SurfaceType.Weld
- o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o11.Position = Vector3.new(-47.4656448, 4.19770145, -76.5830383)
- o12.Name = "Part"
- o12.Parent = o1
- o12.BrickColor = BrickColor.new("Really black")
- o12.Transparency = 0.40000000596046
- o12.Position = Vector3.new(-43.9680862, 4.39696217, -75.0820007)
- o12.Rotation = Vector3.new(-17.8600006, -89.8099976, -17.8600006)
- o12.CanCollide = false
- o12.Size = Vector3.new(4, 2.4000001, 3)
- o12.CFrame = CFrame.new(-43.9680862, 4.39696217, -75.0820007, 5.54516701e-05, 1.78722948e-05, -0.999994636, 8.80197622e-05, 0.999993563, 1.76452231e-05, 0.999990284, -8.55044855e-05, 5.4764736e-05)
- o12.BottomSurface = Enum.SurfaceType.Weld
- o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o12.Position = Vector3.new(-43.9680862, 4.39696217, -75.0820007)
- o13.Parent = o1
- o13.BrickColor = BrickColor.new("Really black")
- o13.Position = Vector3.new(-73.4646301, 3.59832335, -62.5823479)
- o13.Size = Vector3.new(4, 4.80000067, 1)
- o13.CFrame = CFrame.new(-73.4646301, 3.59832335, -62.5823479, 0.999994636, 1.26506784e-05, 3.76836906e-05, -1.2420147e-05, 0.999993563, 3.75806012e-05, -3.69979171e-05, -3.50649789e-05, 0.999990284)
- o13.BottomSurface = Enum.SurfaceType.Weld
- o13.TopSurface = Enum.SurfaceType.Smooth
- o13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o13.Position = Vector3.new(-73.4646301, 3.59832335, -62.5823479)
- o14.Parent = o1
- o14.BrickColor = BrickColor.new("Really black")
- o14.Position = Vector3.new(-47.4651566, 1.7976023, -73.5831451)
- o14.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o14.Size = Vector3.new(1, 2.79999995, 4)
- o14.CFrame = CFrame.new(-47.4651566, 1.7976023, -73.5831451, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o14.TopSurface = Enum.SurfaceType.Smooth
- o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o14.Position = Vector3.new(-47.4651566, 1.7976023, -73.5831451)
- o15.Parent = o1
- o15.BrickColor = BrickColor.new("Really black")
- o15.Position = Vector3.new(-47.4651566, 1.7974813, -76.5831604)
- o15.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o15.Size = Vector3.new(1, 2.79999995, 4)
- o15.CFrame = CFrame.new(-47.4651566, 1.7974813, -76.5831604, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o15.TopSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o15.Position = Vector3.new(-47.4651566, 1.7974813, -76.5831604)
- o16.Name = "AircraftSeat"
- o16.Parent = o1
- o16.BrickColor = BrickColor.new("Really black")
- o16.Position = Vector3.new(-47.4651566, 0.597545266, -75.0831299)
- o16.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o16.Size = Vector3.new(2, 0.400000006, 2)
- o16.CFrame = CFrame.new(-47.4651566, 0.597545266, -75.0831299, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o16.BottomSurface = Enum.SurfaceType.Weld
- o16.TopSurface = Enum.SurfaceType.Weld
- o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o16.Position = Vector3.new(-47.4651566, 0.597545266, -75.0831299)
- o17.Parent = o16
- o17.FaceId = Enum.NormalId.Front
- o18.Name = "Thrust"
- o18.Parent = o16
- o18.Velocity = Vector3.new(0, 0.159999996, 0)
- o18.Velocity = Vector3.new(0, 0.159999996, 0)
- o19.Name = "Direction"
- o19.Parent = o16
- o19.CFrame = CFrame.new(-1242.03491, 428.376831, 444.081696, 0.999937594, 2.76033497e-05, 0.0111732818, -1.15091716e-05, 0.999998987, -0.00144047826, -0.0111733098, 0.00144025963, 0.999936521)
- o19.maxTorque = Vector3.new(0, 0, 0)
- o19.P = 1000
- o19.MaxTorque = Vector3.new(0, 0, 0)
- o20.Name = "Speed"
- o20.Parent = o16
- o20.Value = 40
- o21.Name = "TurnSpeed"
- o21.Parent = o16
- o21.Value = 1000
- o22.Name = "ToolScript"
- o22.Parent = o16
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- position = script.Parent.Position
- local frame = Instance.new("CFrameValue")
- frame.Name = "OriginCFrame"
- frame.Value = script.Parent.CFrame
- frame.Parent = script.Parent
- local object = Instance.new("ObjectValue")
- object.Value = script.Parent
- seat = script.Parent
- seat.Direction.cframe = seat.CFrame
- function onSitUp(child, hopper, gui, plane)
- if child.Parent == nil then
- seat.Direction.maxTorque = Vector3.new(0,0,0)
- seat.Thrust.maxForce = Vector3.new(0,0,0)
- hopper.Parent = script
- hopper.Active = false
- gui.Parent = script
- script.Parent.Locked = false
- script.Parent.Parent = game.Workspace
- end
- end
- function onChildAdded(part)
- if part.className == "Weld" then
- local torso = part.Part1
- if torso ~= nil then
- local char = torso.Parent
- local player = game.Players:GetPlayerFromCharacter(char)
- if player ~= nil then
- local hopper = script["Aircraft"]
- hopper.Parent = player.Backpack
- local GUI = script["Controls"]
- GUI.Parent = player.PlayerGui
- part.AncestryChanged:connect(function(child) onSitUp(child, hopper, GUI, script.Parent) end)
- end
- local parent = torso.Parent
- if parent ~= nil then
- script.Parent.Locked = true
- script.Parent.Parent = parent
- end
- end
- end
- end
- seat.ChildAdded:connect(onChildAdded)
- -- Korky5000
- end,o22)
- end))
- o23.Name = "Aircraft"
- o23.Parent = o22
- o23.Selected = Signal Selected
- o24.Name = "Aircraft"
- o24.Parent = o23
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- bin = script.Parent
- plane = nil
- hold = false
- local debounce = false
- local planedebounce = false
- local stuntdebounce = false
- local controlling = false
- local currentspeed = 0
- local turn = nil
- fly = false
- function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- function move(point, engine)
- local origincframe = engine:findFirstChild("Direction").cframe
- size = engine.Size
- target = engine.Position+((point - engine.Position).unit*100)
- local dir = (target - engine.Position).unit
- local spawnPos = engine.Position
- left = engine.CFrame*CFrame.new(-size.x/2, 0, 0).p
- right = engine.CFrame*CFrame.new(size.x/2, 0, 0).p
- md = (target - engine.Position).magnitude
- foebmd = engine.CFrame*CFrame.new(0, 0, -md).p
- toleft = (target -left).magnitude
- toright = (target -right).magnitude
- rot = ((foebmd - target).magnitude/10)
- local pos = spawnPos + (dir * 1)
- turn = math.rad((rot/10)*engine.TiltFactor.Value)
- if turn > math.rad(89) then
- turn = math.rad(89)
- end
- if toleft< toright and toleft >rot then
- engine:findFirstChild("Direction").cframe = CFrame.new(pos, pos + dir)*CFrame.fromEulerAnglesXYZ(0, 0, turn)
- elseif toleft > toright and toright >rot then
- engine:findFirstChild("Direction").cframe = CFrame.new(pos, pos + dir)*CFrame.fromEulerAnglesXYZ(0, 0, -turn)
- else
- engine:findFirstChild("Direction").cframe = CFrame.new(pos, pos + dir)
- end
- engine:findFirstChild("Direction").P = engine.TurnSpeed.Value
- end
- function findPlane(player)
- local list = player.Character:GetChildren()
- for x = 1, #list do
- if (list[x].Name == "AircraftSeat") then
- return list[x]
- end
- end
- return nil
- end
- function onButton1Down(mouse)
- local vehicle = findPlane(script.Parent.Parent.Parent)
- if vehicle ~= nil and debounce == false and planedebounce == false then
- if fly == false and taxi == false then return end
- debounce = true
- controlling = true
- while true do
- wait()
- local engine = vehicle
- local position = mouse.Hit
- local target = position.p
- move(target, engine)
- if planedebounce == true or
- controlling == false then break end
- end
- wait(0.1)
- debounce = false
- end
- end
- function onButton1Up(mouse)
- controlling = false
- end
- function onSelected(mouse)
- mouse.Icon = "http://www.roblox.com/asset/?id=7419350"
- game.Workspace.CurrentCamera.CameraSubject = bin.Parent.Parent.Character.Head
- game.Workspace.CurrentCamera.CameraType = "Track"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() onButton1Up(mouse) end)
- mouse.KeyDown:connect(onKeyDown)
- mouse.KeyUp:connect(onKeyUp)
- mouse.Move:connect(function() Fly(mouse) end)
- mouse.Idle:connect(function() Fly(mouse) end)
- end
- function onDeselected(mouse)
- game.Workspace.CurrentCamera.CameraSubject = bin.Parent.Parent.Character.Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- end
- function Fly(mouse)
- local vehicle = findPlane(script.Parent.Parent.Parent)
- if (vehicle==nil) then return end
- vehicle.Thrust.velocity = (vehicle.CFrame.lookVector * currentspeed) + Vector3.new(0,vehicle.LiftTrim.Value/100,0)
- end
- function onKeyDown(key)
- if (key~=nil) then
- key = key:lower()
- local vehicle = findPlane(script.Parent.Parent.Parent)
- if (vehicle==nil) then return end
- if key == "y" then
- fly = true
- vehicle.Direction.cframe = vehicle.CFrame
- vehicle.Direction.maxTorque = Vector3.new(4e3,4e3,4e3)
- vehicle.Thrust.maxForce = Vector3.new(9e20,9e20,9e20)
- while fly == true do
- if currentspeed < vehicle.Speed.Value then
- currentspeed = currentspeed + 1
- elseif currentspeed > vehicle.Speed.Value then
- currentspeed = currentspeed - 1
- end
- if vehicle.Acceleration.Value > 1000 then vehicle.Acceleration.Value = 1000 end
- wait((1-(vehicle.Acceleration.Value/1000))+0.01)
- if fly == false then break end
- end
- end
- if key == "x" then
- fly = false
- currentspeed = 0
- vehicle.Direction.maxTorque = Vector3.new(0,0,0)
- vehicle.Thrust.maxForce = Vector3.new(0,0,0)
- end
- if key == "w" then
- if vehicle.Speed.Value < vehicle.MaxSpeed.Value then
- vehicle.Speed.Value = vehicle.Speed.Value + 10
- end
- end
- if key == "s" then
- if vehicle.Speed.Value > -10 then
- vehicle.Speed.Value = vehicle.Speed.Value - 10
- end
- end
- if (key=="'") and (bin.Locked.Value == false) then
- local repl = script:clone()
- repl.Parent = bin
- wait(1)
- script:remove()
- end
- if key == "l" and fly == true then
- vehicle.Direction.maxTorque = Vector3.new(4e3,0,4e3)
- local frame = vehicle:FindFirstChild("OriginCFrame")
- if frame ~= nil then
- vehicle.Direction.cframe = frame.Value
- end
- wait(2)
- vehicle.Direction.cframe = vehicle.CFrame
- vehicle.Direction.maxTorque = Vector3.new(4e3,4e3,4e3)
- end
- end
- end
- function onKeyUp(key)
- if (key~=nil) then
- key = key:lower()
- local vehicle = findPlane(script.Parent.Parent.Parent)
- if (vehicle==nil) then return end
- end
- end
- bin.Selected:connect(onSelected)
- bin.Deselected:connect(onDeselected)
- -- Korky5000
- end,o24)
- end))
- o26.Name = "Title"
- o26.Parent = mas
- o26.Position = UDim2.new(0,0,0.69999998807907,0)
- o26.Size = UDim2.new(0,200,0,20)
- o26.Text = "Korky5000's AircraftSeat [Version 1.1]"
- o26.Position = UDim2.new(0,0,0.69999998807907,0)
- o26.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- o26.BorderColor3 = Color3.new(0.796079, 0.796079, 0.796079)
- o26.FontSize = Enum.FontSize.Size9
- o26.TextColor3 = Color3.new(0.717647, 0.87451, 1)
- o27.Name = "Y"
- o27.Parent = o26
- o27.Position = UDim2.new(0,0,1,0)
- o27.Size = UDim2.new(0,20,0,20)
- o27.Text = "Y"
- o27.Position = UDim2.new(0,0,1,0)
- o27.BackgroundColor3 = Color3.new(0, 0, 0)
- o27.BorderColor3 = Color3.new(0.8, 0.8, 0.8)
- o27.FontSize = Enum.FontSize.Size12
- o27.TextColor3 = Color3.new(0.721569, 0.878431, 1)
- o28.Name = "Description"
- o28.Parent = o27
- o28.Position = UDim2.new(1,0,0,0)
- o28.Size = UDim2.new(0,180,0,20)
- o28.Text = "- Start Up"
- o28.Position = UDim2.new(1,0,0,0)
- o28.BackgroundColor3 = Color3.new(0, 0, 0)
- o28.BorderColor3 = Color3.new(0.8, 0.8, 0.8)
- o28.FontSize = Enum.FontSize.Size9
- o28.TextColor3 = Color3.new(0.721569, 0.878431, 1)
- o28.TextXAlignment = Enum.TextXAlignment.Left
- o29.Name = "X"
- o29.Parent = o26
- o29.Position = UDim2.new(0,0,2,0)
- o29.Size = UDim2.new(0,20,0,20)
- o29.Text = "X"
- o29.Position = UDim2.new(0,0,2,0)
- o29.BackgroundColor3 = Color3.new(0, 0, 0)
- o29.BorderColor3 = Color3.new(0.803922, 0.803922, 0.803922)
- o29.FontSize = Enum.FontSize.Size12
- o29.TextColor3 = Color3.new(0.72549, 0.882353, 1)
- o30.Name = "Description"
- o30.Parent = o29
- o30.Position = UDim2.new(1,0,0,0)
- o30.Size = UDim2.new(0,180,0,20)
- o30.Text = "- Turn Off"
- o30.Position = UDim2.new(1,0,0,0)
- o30.BackgroundColor3 = Color3.new(0, 0, 0)
- o30.BorderColor3 = Color3.new(0.803922, 0.803922, 0.803922)
- o30.FontSize = Enum.FontSize.Size9
- o30.TextColor3 = Color3.new(0.72549, 0.882353, 1)
- o30.TextXAlignment = Enum.TextXAlignment.Left
- o31.Name = "W"
- o31.Parent = o26
- o31.Position = UDim2.new(0,0,3,0)
- o31.Size = UDim2.new(0,20,0,20)
- o31.Text = "W"
- o31.Position = UDim2.new(0,0,3,0)
- o31.BackgroundColor3 = Color3.new(0, 0, 0)
- o31.BorderColor3 = Color3.new(0.807843, 0.807843, 0.807843)
- o31.FontSize = Enum.FontSize.Size12
- o31.TextColor3 = Color3.new(0.729412, 0.886275, 1)
- o32.Name = "Description"
- o32.Parent = o31
- o32.Position = UDim2.new(1,0,0,0)
- o32.Size = UDim2.new(0,180,0,20)
- o32.Text = "- Faster"
- o32.Position = UDim2.new(1,0,0,0)
- o32.BackgroundColor3 = Color3.new(0, 0, 0)
- o32.BorderColor3 = Color3.new(0.807843, 0.807843, 0.807843)
- o32.FontSize = Enum.FontSize.Size9
- o32.TextColor3 = Color3.new(0.729412, 0.886275, 1)
- o32.TextXAlignment = Enum.TextXAlignment.Left
- o33.Name = "S"
- o33.Parent = o26
- o33.Position = UDim2.new(0,0,4,0)
- o33.Size = UDim2.new(0,20,0,20)
- o33.Text = "S"
- o33.Position = UDim2.new(0,0,4,0)
- o33.BackgroundColor3 = Color3.new(0, 0, 0)
- o33.BorderColor3 = Color3.new(0.811765, 0.811765, 0.811765)
- o33.FontSize = Enum.FontSize.Size12
- o33.TextColor3 = Color3.new(0.733333, 0.890196, 1)
- o34.Name = "Description"
- o34.Parent = o33
- o34.Position = UDim2.new(1,0,0,0)
- o34.Size = UDim2.new(0,180,0,20)
- o34.Text = "- Slower"
- o34.Position = UDim2.new(1,0,0,0)
- o34.BackgroundColor3 = Color3.new(0, 0, 0)
- o34.BorderColor3 = Color3.new(0.811765, 0.811765, 0.811765)
- o34.FontSize = Enum.FontSize.Size9
- o34.TextColor3 = Color3.new(0.733333, 0.890196, 1)
- o34.TextXAlignment = Enum.TextXAlignment.Left
- o35.Name = "L"
- o35.Parent = o26
- o35.Position = UDim2.new(0,0,5,0)
- o35.Size = UDim2.new(0,20,0,20)
- o35.Text = "L"
- o35.Position = UDim2.new(0,0,5,0)
- o35.BackgroundColor3 = Color3.new(0, 0, 0)
- o35.BorderColor3 = Color3.new(0.815686, 0.815686, 0.815686)
- o35.FontSize = Enum.FontSize.Size14
- o35.TextColor3 = Color3.new(0.737255, 0.894118, 1)
- o36.Name = "Description"
- o36.Parent = o35
- o36.Position = UDim2.new(1,0,0,0)
- o36.Size = UDim2.new(0,180,0,20)
- o36.Text = "- Level Out"
- o36.Position = UDim2.new(1,0,0,0)
- o36.BackgroundColor3 = Color3.new(0, 0, 0)
- o36.BorderColor3 = Color3.new(0.815686, 0.815686, 0.815686)
- o36.FontSize = Enum.FontSize.Size9
- o36.TextColor3 = Color3.new(0.737255, 0.894118, 1)
- o36.TextXAlignment = Enum.TextXAlignment.Left
- o37.Name = "MaxSpeed"
- o37.Parent = o16
- o37.Value = 150
- o38.Name = "TiltFactor"
- o38.Parent = o16
- o38.Value = 40
- o39.Name = "Acceleration"
- o39.Parent = o16
- o39.Value = 1000
- o40.Name = "LiftTrim"
- o40.Parent = o16
- o40.Value = 16
- o41.Name = "README"
- o41.Parent = o16
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --[[
- Korky5000's AircraftSeat [Version 1.0]
- ------------------------------------------------------------------------------------------
- Version Log:
- -V1.0
- First version launched! Comments would be greatly appreciated
- -V1.1
- Fixed Camera
- When turned off, speed resets to 0
- ------------------------------------------------------------------------------------------
- Thank you for using Mark901's AircraftSeat! Below are instructions
- on how to use your seat and make any model fly! If you have any
- comments or need to report bugs, glitches, and any other problems,
- simply send a message to Mark901. Enjoy! :D
- Instructions:
- -- A: Pre-Existing Model --
- 1. Use a move tool [in-game or Roblox Studio] and place seat in
- desired position
- |Note: Make sure no one is using the seat, or else you will be unable
- to move it
- 2. Sit on the seat
- 3. Select the tool
- 4. Follow controls in GUI to pilot your vehicle
- -- B: Building From Scratch --
- |Note: These are instructions on how to use this seat during online
- mode, at a building game for example
- 1. Make a large, flat brick first
- 2. Build your vehicle on top of the flat brick [This is to make sure that
- the vehicle is not stuck to the ground]
- 3. Follow instructions from section A
- Have fun!
- -- Korky5000
- end,o41)
- end))
- o42.Name = "OriginCFrame"
- o42.Parent = o16
- o42.Value = CFrame.new(0, 0.200000003, 0, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- o43.Parent = o16
- o43.Size = 30
- o43.Color = Color3.new(0, 0, 1)
- o43.Enabled = false
- o43.Heat = 25
- o43.SecondaryColor = Color3.new(0, 0.898039, 1)
- o44.Name = "Spread"
- o44.Parent = o43
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- --Korky5000
- end,o44)
- end))
- o45.Name = "OriginCFrame"
- o45.Parent = o16
- o45.Value = CFrame.new(-22.0051937, 3.18354821, 21.0000019, 0, -0.000791319646, -0.999999642, 2.50374433e-06, 0.999999702, -0.000791319646, 1, -2.50374433e-06, 0)
- o46.Name = "OriginCFrame"
- o46.Parent = o16
- o46.Value = CFrame.new(-1242.03491, 428.376831, 444.081696, 0.999937594, 2.76033497e-05, 0.0111732818, -1.15091716e-05, 0.999998987, -0.00144047826, -0.0111733098, 0.00144025963, 0.999936521)
- o47.Parent = o1
- o47.BrickColor = BrickColor.new("Really black")
- o47.Position = Vector3.new(-43.9651566, 1.5974983, -75.0832825)
- o47.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o47.Size = Vector3.new(4, 3.20000005, 3)
- o47.CFrame = CFrame.new(-43.9651566, 1.5974983, -75.0832825, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o47.BackSurface = Enum.SurfaceType.Weld
- o47.BottomSurface = Enum.SurfaceType.Smooth
- o47.TopSurface = Enum.SurfaceType.Smooth
- o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o47.Position = Vector3.new(-43.9651566, 1.5974983, -75.0832825)
- o48.Name = "Part"
- o48.Parent = o1
- o48.BrickColor = BrickColor.new("Really black")
- o48.Position = Vector3.new(-40.4654007, 2.59730029, -75.0829163)
- o48.Rotation = Vector3.new(0, -90, 0)
- o48.Size = Vector3.new(4, 1.20000005, 4)
- o48.CFrame = CFrame.new(-40.4654007, 2.59730029, -75.0829163, 9.59720001e-06, 3.24541793e-06, -1, 2.51621095e-05, 1, 3.2456594e-06, 1, -2.51621404e-05, 9.59711815e-06)
- o48.BackSurface = Enum.SurfaceType.Weld
- o48.BottomSurface = Enum.SurfaceType.Smooth
- o48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o48.Position = Vector3.new(-40.4654007, 2.59730029, -75.0829163)
- o49.Parent = o1
- o49.BrickColor = BrickColor.new("Really black")
- o49.Position = Vector3.new(-40.4651566, 1.59745431, -75.0834045)
- o49.Rotation = Vector3.new(-18.5599995, -89.8099976, -18.5599995)
- o49.Size = Vector3.new(4, 0.800000012, 4)
- o49.CFrame = CFrame.new(-40.4651566, 1.59745431, -75.0834045, 3.76836906e-05, 1.26506784e-05, -0.999994636, 3.75806012e-05, 0.999993563, 1.2420147e-05, 0.999990284, -3.50649789e-05, 3.69979171e-05)
- o49.BackSurface = Enum.SurfaceType.Weld
- o49.BottomSurface = Enum.SurfaceType.Smooth
- o49.TopSurface = Enum.SurfaceType.Smooth
- o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o49.Position = Vector3.new(-40.4651566, 1.59745431, -75.0834045)
- o50.Name = "Part"
- o50.Parent = o1
- o50.BrickColor = BrickColor.new("Really black")
- o50.Position = Vector3.new(-40.4654007, 0.597376287, -75.0831299)
- o50.Rotation = Vector3.new(180, -90, 0)
- o50.Size = Vector3.new(4, 1.20000005, 4)
- o50.CFrame = CFrame.new(-40.4654007, 0.597376287, -75.0831299, -3.72814138e-05, -1.28568063e-05, -1, -4.33249734e-05, -1, 1.28584215e-05, -1, 4.33254536e-05, 3.72808536e-05)
- o50.BackSurface = Enum.SurfaceType.Weld
- o50.BottomSurface = Enum.SurfaceType.Smooth
- o50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o50.Position = Vector3.new(-40.4654007, 0.597376287, -75.0831299)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
- game:GetService("Lighting").Brightness = 2
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
- game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.501961, 0.501961, 0.501961)
- game:GetService("Lighting").Outlines = false
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "14:00:00"
- game:GetService("Lighting").FogColor = Color3.new(0.752941, 0.752941, 0.752941)
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement