Advertisement
Guest User

Cabin Crew Simulator Autofarm Beta Script

a guest
Jun 7th, 2024
301
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 51.16 KB | Gaming | 1 0
  1. if game.PlaceId == 5171347293 then
  2.     game:GetService("StarterGui"):SetCore("SendNotification", {
  3.         Title = "If the GUI does not appear",
  4.         Text = [[1. Execute again,
  5.         2. There may be errors with the script. Screenshot the dev console (press F9) and contact the developer.]],
  6.         Duration = 5
  7.     })
  8. wait(5)
  9.     game:GetService("StarterGui"):SetCore("SendNotification", {
  10.         Title = "If the exploit does not work",
  11.         Text = [[1. Go to Other > Refresh flight,
  12.         2. There may be errors with the script. Screenshot the dev console (press F9) and contact the developer.]],
  13.         Duration = 5
  14.     })
  15. wait(4)
  16. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  17. local Window = Library.CreateLib("Cabin Crew Simulator Exploit/Hack (Powerful, lightweight)", "DarkTheme")
  18. local FlightNumber
  19. local Patched = false --DO NOT MODIFY
  20. local StarterGui = game:GetService("StarterGui")
  21. local PlayerGui = game:GetService("Players").LocalPlayer.PlayerGui
  22. local PlayerCharacter = game:GetService("Players").LocalPlayer.Character
  23. local client_ui
  24. local cart_items
  25. local cart_right
  26. local cart_button
  27. local cart_button_beverage
  28. local cart_button_food
  29. local VirtualUser = game:GetService("VirtualUser")
  30. local menuOfItems = {} -- nothing for now, map them on flight
  31. local menuOfItemsBeverage = {} -- nothing for now, map them on flight
  32.  --Main
  33.  local MainTab = Window:NewTab("Mid/Flight Hacks")
  34.  local GamepassTab = Window:NewTab("Gamepass Hacks")
  35.  local LocalPlayerTab = Window:NewTab("Player")
  36.  local LocalPlayerSection = LocalPlayerTab:NewSection("Player")
  37.  local OtherTab = Window:NewTab("Other")
  38.  local OtherSection = OtherTab:NewSection("Other")
  39.  local GamepassSection = GamepassTab:NewSection("Disable/Enable (get) Gamepasses")
  40.  local MainRegularSection = MainTab:NewSection("Regular")
  41.  local MainClickSection = MainTab:NewSection("Regular (Must be clicked multiple times)")
  42.  local OtherCheatSection = OtherTab:NewSection("Other Exploits")
  43.  
  44.  if Patched then
  45.     StarterGui:SetCore("SendNotification", {
  46.         Title = "Patched",
  47.         Text = "The script is patched. you can continue to use it although some functions may not work.",
  48.         Duration = 5
  49.     })
  50.  end
  51.  
  52.  for i, v in pairs(workspace.flights:GetChildren()) do
  53.     if v:FindFirstChild("clientFolder") then
  54.         print("flight check test passed")
  55.         FlightNumber = v.Name
  56.  
  57.         break
  58.     end
  59. end
  60. function GetObjectFromFullName(fullName)
  61.     local segments = fullName:split(".")
  62.     local current = game
  63.  
  64.     for _,location in pairs(segments) do
  65.         current = current[location]
  66.     end
  67.  
  68.     return current
  69. end
  70.  
  71.  function fireproximityprompt(Obj, Amount, Skip)
  72.     if Obj.ClassName == "ProximityPrompt" then
  73.         Amount = Amount or 1
  74.         local PromptTime = Obj.HoldDuration
  75.         if Skip then
  76.             Obj.HoldDuration = 0
  77.         end
  78.         for i = 1, Amount do
  79.             Obj:InputHoldBegin()
  80.             if not Skip then
  81.                 wait(Obj.HoldDuration)
  82.             end
  83.             Obj:InputHoldEnd()
  84.         end
  85.         Obj.HoldDuration = PromptTime
  86.     else
  87.         error("userdata<ProximityPrompt> expected")
  88.     end
  89. end
  90.  
  91. function CloseAllLuggageDoor()
  92.     for i, v in pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()[1].overhead_bins:GetChildren()) do
  93.         PlayerCharacter.Humanoid:MoveTo(Vector3.new(v.Handle.Position.X,PlayerCharacter.HumanoidRootPart.Position.Y,v.Handle.Position.Z))
  94.         PlayerCharacter.Humanoid.MoveToFinished:Wait()
  95.         fireproximityprompt(v.Handle.ProximityPrompt, 1, true)
  96.     end
  97. end
  98.  
  99.  
  100. function FixAllProblem()
  101.     for i, v in pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()[1].npcs:GetChildren()) do
  102.         if v.configurations.on_plane.Value == true then
  103.             if v.Head.alerts:FindFirstChild("fix") then
  104.                 wait()
  105.                 PlayerCharacter.Client.Client.RemoteEvent:FireServer("Fix", "tray",GetObjectFromFullName(v:GetFullName()))
  106.                 PlayerCharacter.Client.Client.RemoteEvent:FireServer("Fix", "seatbelt",GetObjectFromFullName(v:GetFullName()))
  107.                 PlayerCharacter.Client.Client.RemoteEvent:FireServer("Fix", "seat",GetObjectFromFullName(v:GetFullName()))
  108.             end
  109.         end
  110.     end
  111. end
  112. function ServeNPCAllFood(npc: Instance)
  113.     local function MapFood()
  114.         for i, v in pairs(menuOfItems) do
  115.             menuOfItems[i] = nil
  116.         end
  117.         if not cart_right.Visible then
  118.             VirtualUser:ClickButton1(cart_button.AbsolutePosition)
  119.             cart_right:GetPropertyChangedSignal("Visible"):Wait()
  120.         end
  121.         if not cart_items.Visible or cart_items.TextLabel.Text ~= "Economy Food" then
  122.             VirtualUser:ClickButton1(cart_button_food.AbsolutePosition)
  123.             cart_items.AncestryChanged:Wait()
  124.         end
  125.         for i, v in pairs(cart_items.ScrollingFrame:GetChildren()) do
  126.             if v.Name ~= "placeholder" and v:IsA("Frame") then
  127.                 menuOfItemsBeverage[v.topLabel.Text] = tonumber(v.Name) -- map them
  128.             end
  129.         end
  130.     end
  131.     MapFood()
  132.     local function CheckWhatNPCWantsToEat()
  133.         local FormattedFood
  134.         PlayerCharacter.Client.Client.RemoteEvent:FireServer("Ask", "food", npc)
  135.         npc.Head:WaitForChild("Chat").ChildAdded:Wait()
  136.         print(npc.Head.Chat.Message:WaitForChild("TextLabel").Text)
  137.         if string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Su" then
  138.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 24), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 24)) - 1))
  139.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Gi" then
  140.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17)) - 1))
  141.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Ma" then
  142.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 16), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 16)) - 1))
  143.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "I'" then
  144.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15)) - 1))
  145.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Ye" then
  146.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17)) - 1))
  147.         end
  148.         return menuOfItems[FormattedFood]
  149.     end
  150.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("Cart", "economy", "food")
  151.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "economy", CheckWhatNPCWantsToEat())
  152.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  153. end
  154. function ServeNPCAllBeverage(npc: Instance)
  155.     local function MapFood()
  156.         for i, v in pairs(menuOfItemsBeverage) do
  157.             menuOfItemsBeverage[i] = nil
  158.         end
  159.         if not cart_right.Visible then
  160.             VirtualUser:ClickButton1(cart_button.AbsolutePosition)
  161.             cart_right:GetPropertyChangedSignal("Visible"):Wait()
  162.         end
  163.         if not cart_items.Visible or cart_items.TextLabel.Text ~= "Economy Drinks" then
  164.             VirtualUser:ClickButton1(cart_button_beverage.AbsolutePosition)
  165.             cart_items.AncestryChanged:Wait()
  166.         end
  167.         for i, v in pairs(cart_items.ScrollingFrame:GetChildren()) do
  168.             if v.Name ~= "placeholder" and v:IsA("Frame") then
  169.                 menuOfItemsBeverage[v.topLabel.Text] = tonumber(v.Name) -- map them
  170.             end
  171.         end
  172.     end
  173.     MapFood()
  174.     local function CheckWhatNPCWantsToEat()
  175.         local FormattedFood
  176.         PlayerCharacter.Client.Client.RemoteEvent:FireServer("Ask", "beverage", npc)
  177.         npc.Head:WaitForChild("Chat").ChildAdded:Wait()
  178.         print(npc.Head.Chat.Message:WaitForChild("TextLabel").Text)
  179.         if string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Su" then
  180.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15)) - 1))
  181.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Gi" then
  182.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15)) - 1))
  183.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Ye" then
  184. FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15)) - 1))
  185.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Ye" then
  186.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 15)) - 1))
  187.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "I'" then
  188.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 13), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 13)) - 1))
  189.         elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,2) == "Ca" then
  190.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17)) - 1))
  191.     elseif string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 0,11) == "Can I get a" then
  192.         FormattedFood = string.sub(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17), 0, (string.len(string.sub(npc.Head.Chat.Message:WaitForChild("TextLabel").Text, 17)) - 1))
  193.         end
  194.         return menuOfItemsBeverage[FormattedFood]
  195.     end
  196.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("Cart", "economy", "beverage")
  197.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "economy", CheckWhatNPCWantsToEat())
  198.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  199. end
  200. -- For First Class/ Business
  201. function ServeNPCAllFoodFC(npc: Instance)
  202.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  203.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 2)
  204.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  205.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 3)
  206.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  207.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 4)
  208.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  209.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 5)
  210.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  211.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 6)
  212.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  213.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 7)
  214.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  215.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 8)
  216.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  217.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 9)
  218.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  219.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 10)
  220.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  221.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food", "first_class", 11)
  222.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  223. end
  224.  
  225. function ServeNPCAllBeverageFC(npc: Instance)
  226.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 1)
  227.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  228.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 2)
  229.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  230.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 3)
  231.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  232.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 4)
  233.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  234.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 5)
  235.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  236.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 6)
  237.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  238.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 7)
  239.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  240.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 8)
  241.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  242.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 9)
  243.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  244.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 10)
  245.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  246.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "beverage", "first_class", 11)
  247.     PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
  248. end
  249. function ServeAllNPCSFood()
  250.     for i, v in pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()[1].npcs:GetChildren()) do
  251. if v.configurations.on_plane.Value == true then
  252.             if v:WaitForChild("Head"):WaitForChild("alerts"):FindFirstChild("beverage") then
  253.                 ServeNPCAllBeverage(v)
  254.             end
  255.             if v:WaitForChild("Head"):WaitForChild("alerts"):FindFirstChild("food") then
  256.                 ServeNPCAllFood(v)
  257.             end
  258.         end
  259.     end
  260. end
  261. function ServeAllNPCSFoodFC()
  262.     for i, v in pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()[1].npcs:GetChildren()) do
  263.         if v.configurations.on_plane.Value == true then
  264.             if v:WaitForChild("Head"):WaitForChild("alerts"):FindFirstChild("beverage") then
  265.                 ServeNPCAllBeverageFC(v)
  266.             end
  267.             if v:WaitForChild("Head"):WaitForChild("alerts"):FindFirstChild("food") then
  268.                 ServeNPCAllFoodFC(v)
  269.             end
  270.         end
  271.     end
  272. end
  273. function ThrowAllTrash()
  274.     for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do
  275.         if v.Name == "alert" then
  276.             if v.Active then
  277.                 for iv, vi in pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()[1].npcs:GetChildren()) do
  278.                     if vi.configurations.on_plane.Value == true then
  279.                         PlayerCharacter.Client.Client.RemoteEvent:FireServer("Trash", vi, v.Adornee)
  280.                     end
  281.                 end
  282.             end
  283.         end
  284.     end
  285. end
  286. -- Main Buttons
  287. MainClickSection:NewButton("Close/Open Luggage doors", "Closes/Opens the luggage doors.", function()
  288.     if FlightNumber ~= nil then
  289.         CloseAllLuggageDoor()
  290.         else
  291.         if KRNL_LOADED then
  292.            messagebox([[
  293.                Flight number is nil or null!
  294.                Get a flight then Refresh Flight!
  295.                Execute it on flight later on.
  296.            ]], "Warning", 0)
  297.            else
  298.                game:GetService("StarterGui"):SetCore("SendNotification", {
  299.         Title = "Warning",
  300.         Text = [[Flight number is nil or null!
  301.                Get a flight then Refresh Flight!
  302.                Execute it on flight later on.]],
  303.         Duration = 5
  304.     })
  305.         end
  306.     end
  307. end)
  308. MainRegularSection:NewButton("Fix All NPCs Problem", "This fixes all passengers alerts (except disruptive passengers).", function()
  309.     if FlightNumber ~= nil then
  310.         FixAllProblem()
  311.         else
  312.         if KRNL_LOADED then
  313.            messagebox([[
  314.                Flight number is nil or null!
  315.                Get a flight then Refresh Flight!
  316.                Execute it on flight later on.
  317.            ]], "Warning", 0)
  318.            else
  319.                game:GetService("StarterGui"):SetCore("SendNotification", {
  320.         Title = "Warning",
  321.         Text = [[Flight number is nil or null!
  322.                Get a flight then Refresh Flight!
  323.                Execute it on flight later on.]],
  324.         Duration = 5
  325.     })
  326.         end
  327.     end
  328. end)
  329. MainRegularSection:NewButton("Serve All NPCs Meal", "This serves all NPCs meals. (Warning: Will serve all passengers all meal in your menu)", function()
  330.    if FlightNumber ~= nil then
  331.         ServeAllNPCSFood()
  332.         else
  333.         if KRNL_LOADED then
  334.            messagebox([[
  335.                Flight number is nil or null!
  336.                Get a flight then Refresh Flight!
  337.                Execute it on flight later on.
  338.            ]], "Warning", 0)
  339.            else
  340.                game:GetService("StarterGui"):SetCore("SendNotification", {
  341.         Title = "Warning",
  342.         Text = [[Flight number is nil or null!
  343.                Get a flight then Refresh Flight!
  344.                Execute it on flight later on.]],
  345.         Duration = 5
  346.     })
  347.         end
  348.     end
  349. end)
  350. MainRegularSection:NewButton("Serve All NPCs Meal (First Class/Business)", "This serves all NPCs meals. (Warning: Will serve all passengers all meal in your menu)", function()
  351. if FlightNumber ~= nil then
  352.         ServeAllNPCSFoodFC()
  353.         else
  354.         if KRNL_LOADED then
  355.            messagebox([[
  356.                Flight number is nil or null!
  357.                Get a flight then Refresh Flight!
  358.                Execute it on flight later on.
  359.            ]], "Warning", 0)
  360.            else
  361.                game:GetService("StarterGui"):SetCore("SendNotification", {
  362.         Title = "Warning",
  363.         Text = [[Flight number is nil or null!
  364.                Get a flight then Refresh Flight!
  365.                Execute it on flight later on.]],
  366.         Duration = 5
  367.     })
  368.         end
  369.     end
  370.  end)
  371.  MainRegularSection:NewButton("Serve All NPCs Meal (At Start) (First Class/Business)", "This serves all NPCs meals. (Warning: Will serve all passengers all meal in your menu)", function()
  372.     ServeNPCAllBeverageFC()
  373.     if FlightNumber ~= nil then
  374.         ServeNPCAllBeverageFC()
  375.         else
  376.         if KRNL_LOADED then
  377.            messagebox([[
  378.                Flight number is nil or null!
  379.                Get a flight then Refresh Flight!
  380.                Execute it on flight later on.
  381.            ]], "Warning", 0)
  382.            else
  383.                game:GetService("StarterGui"):SetCore("SendNotification", {
  384.         Title = "Warning",
  385.         Text = [[Flight number is nil or null!
  386.                Get a flight then Refresh Flight!
  387.                Execute it on flight later on.]],
  388.         Duration = 5
  389.     })
  390.         end
  391.     end
  392.  end)
  393. MainClickSection:NewButton("Throw All NPCs Trash", "This throws all passengers meal", function()
  394.     if FlightNumber ~= nil then
  395.         ThrowAllTrash()
  396.         else
  397.         if KRNL_LOADED then
  398.            messagebox([[
  399.                Flight number is nil or null!
  400.                Get a flight then Refresh Flight!
  401.                Execute it on flight later on.
  402.            ]], "Warning", 0)
  403.            else
  404.                game:GetService("StarterGui"):SetCore("SendNotification", {
  405.         Title = "Warning",
  406.         Text = [[Flight number is nil or null!
  407.                Get a flight then Refresh Flight!
  408.                Execute it on flight later on.]],
  409.         Duration = 5
  410.     })
  411.         end
  412.     end
  413. end)
  414. --Gamepass toggles
  415. GamepassSection:NewToggle("Skilled Pilots", "Gets the gamepass.", function(state)
  416. if state then
  417.     game:GetService("Players").LocalPlayer.gamepasses["skilled_pilots"].Value = true
  418. else
  419.     game:GetService("Players").LocalPlayer.gamepasses["skilled_pilots"].Value = false
  420. end
  421. end)
  422. GamepassSection:NewToggle("VIP", "Gets the gamepass.", function(state)
  423.     if state then
  424.         game:GetService("Players").LocalPlayer.gamepasses["vip"].Value = true
  425.     else
  426.         game:GetService("Players").LocalPlayer.gamepasses["vip"].Value = false
  427.     end
  428. end)
  429. GamepassSection:NewToggle("Premium Flight Attendant", "Gets the gamepass. (Although you still have to pay the flight fee for the flight attendant)", function(state)
  430.     if state then
  431.         game:GetService("Players").LocalPlayer.gamepasses["premium_flight_attendant"].Value = true
  432.     else
  433.         game:GetService("Players").LocalPlayer.gamepasses["premium_flight_attendant"].Value = false
  434.     end
  435. end)
  436. GamepassSection:NewToggle("Custom Lighting", "Gets the gamepass.", function(state)
  437.     if state then
  438.         game:GetService("Players").LocalPlayer.gamepasses["custom_lighting"].Value = true
  439.     else
  440.         game:GetService("Players").LocalPlayer.gamepasses["custom_lighting"].Value = false
  441.     end
  442. end)
  443. GamepassSection:NewToggle("Extra Design", "Gets the gamepass.", function(state)
  444.     if state then
  445.         game:GetService("Players").LocalPlayer.gamepasses["extra_design"].Value = true
  446.     else
  447.         game:GetService("Players").LocalPlayer.gamepasses["extra_design"].Value = false
  448.     end
  449. end)
  450. GamepassSection:NewToggle("Emergency Control", "Gets the gamepass.", function(state)
  451. if state then
  452.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = true
  453.     else
  454.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = false
  455.     end
  456. end)
  457. GamepassSection:NewToggle("Premium Room", "Gets the gamepass.", function(state)
  458.     if state then
  459.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = true
  460.     else
  461.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = false
  462.     end
  463. end)
  464. GamepassSection:NewToggle("Custom Music", "Gets the gamepass.", function(state)
  465.     if state then
  466.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = true
  467.     else
  468.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = false
  469.     end
  470. end)
  471. GamepassSection:NewToggle("Multiplayer Connect", "Gets the gamepass.", function(state)
  472.     if state then
  473.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = true
  474.     else
  475.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = false
  476.     end
  477. end)
  478. GamepassSection:NewToggle("Tail Logo", "Gets the gamepass.", function(state)
  479.     if state then
  480.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = true
  481.     else
  482.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = false
  483.     end
  484. end)
  485. GamepassSection:NewToggle("2x Earnings", "Gets the gamepass.", function(state)
  486.     if state then
  487.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = true
  488.     else
  489.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = false
  490.     end
  491.     end)
  492. OtherSection:NewButton("Refresh Flight", "Refreshes the flight ID.", function()
  493.     for i, v in pairs(workspace.flights:GetChildren()) do
  494.         if v:FindFirstChild("clientFolder") then
  495.             print("refresh")
  496.             FlightNumber = v.Name
  497.             client_ui = PlayerGui.client_ui
  498. cart_items = client_ui.side_frame.cart.center
  499. cart_right = client_ui.side_frame.cart.right
  500. cart_button = client_ui.side_frame.cart.bottom.Button
  501. cart_button_beverage = client_ui.side_frame.cart.right.economyBeverage.Button
  502. cart_button_food = client_ui.side_frame.cart.right.economyFood.Button
  503.             break
  504.         end
  505.     end
  506. end)
  507. OtherCheatSection:NewButton("Dark DEX V4", "Executes Dark DEX V4.", function()
  508.     loadstring(game:HttpGet(("https://gist.githubusercontent.com/DinosaurXxX/b757fe011e7e600c0873f967fe427dc2/raw/ee5324771f017073fc30e640323ac2a9b3bfc550/dark%2520dex%2520v4"),true))()
  509. end)
  510. OtherCheatSection:NewButton("Remote Spy", "Executes Remote Spy.", function()
  511.     -- Originally written by Autumn
  512. -- Amended by asd & 3dsboy08
  513. -- Fixed by wally - 8/22/19
  514. -- Improved by Pyseph - 1/22/20
  515.  
  516. local hookfunc = hookfunction or replaceclosure or replace_closure;
  517.  
  518. spawn(function()
  519.     local cGui = game:GetService'CoreGui';
  520.     local consoleUI = cGui:FindFirstChild('DevConsoleMaster') or cGui:WaitForChild('DevConsoleMaster');
  521.     local clientLog = consoleUI:FindFirstChild('ClientLog', true);
  522.     if not clientLog then
  523.         repeat wait()
  524.         until consoleUI:FindFirstChild('ClientLog', true);
  525.         clientLog = consoleUI:FindFirstChild('ClientLog', true);
  526.     end;
  527.     for i,v in next, clientLog:GetChildren() do
  528.         if v:FindFirstChild'msg' then
  529.             v.InputBegan:Connect(function(input)
  530.                 if input.UserInputType == Enum.UserInputType.MouseButton1 then
  531.                     setclipboard(v.msg.Text);
  532.                 end;
  533.             end);
  534.         end;
  535.     end;
  536.  
  537.     clientLog.ChildAdded:Connect(function(obj)
  538.         if not obj:FindFirstChild'msg' then obj:WaitForChild'msg'; end;
  539.         obj.InputBegan:Connect(function(input)
  540.             if input.UserInputType == Enum.UserInputType.MouseButton1 then
  541.                 setclipboard(obj.msg.Text);
  542.             end;
  543.         end);
  544.     end);
  545. end);
  546.  
  547. local enabled = {
  548.     BindableEvent   = false,
  549.     BindableFunction = false,
  550.     RemoteEvent   = true,
  551.     RemoteFunction   = true
  552. }
  553.  
  554. local ignore = {
  555.     --[[ -- I'd personally recommend keeping this commented out, as game scripts can name their remotes these
  556.     GetSetting = true,
  557.     GetSelection = true,
  558.     SelectionChanged = true,
  559.     GetAwaiting = true
  560.     --]]
  561. }
  562.  
  563. local metatable = assert(getrawmetatable, "needs access to function 'getrawmetatable'")(game)
  564. if setreadonly then
  565.     setreadonly(metatable, false)
  566. end
  567.  
  568. local function CountTable(t)
  569.     local count, key = 0
  570.     repeat
  571.         key = next(t, key)
  572.         if key ~= nil then
  573.             count = count + 1
  574.         end
  575.     until key == nil
  576.     return count
  577. end
  578.  
  579. local Globals = {
  580.     CFrame = 'CFrame.new(-)';
  581.     Vector3 = 'Vector3.new(-)';
  582.     Vector2 = 'Vector2.new(-)';
  583.     UDim2 = 'UDim2.new(-)';
  584.     Axis = 'Axis.new(-)';
  585.     BrickColor = 'BrickColor.new(-)';
  586.     Color3 = 'Color3.new(-)';
  587.     ColorSequence = 'ColorSequence.new(-)';
  588.     Region3 = 'Region3.new(-)';
  589.     TweenInfo = 'TweenInfo.new(-)';
  590.     NumberSequence = 'NumberSequence.new(-)';
  591.     Random = 'Random.new(-)';
  592.     NumberRange = 'NumberRange.new(-)';
  593.     Axis = 'Axis.new(-)';
  594. };
  595.  
  596. local PrintTable
  597. local function ParseObject(object, spacing, scope, checkedTables, keyBool)
  598.     spacing = keyBool and spacing .. '[' or spacing;
  599.     local objectType = type(object)
  600.     ifif state then
  601.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = true
  602.     else
  603.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = false
  604.     end
  605. end)
  606. GamepassSection:NewToggle("Premium Room", "Gets the gamepass.", function(state)
  607.     if state then
  608.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = true
  609.     else
  610.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = false
  611.     end
  612. end)
  613. GamepassSection:NewToggle("Custom Music", "Gets the gamepass.", function(state)
  614.     if state then
  615.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = true
  616.     else
  617.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = false
  618.     end
  619. end)
  620. GamepassSection:NewToggle("Multiplayer Connect", "Gets the gamepass.", function(state)
  621.     if state then
  622.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = true
  623.     else
  624.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = false
  625.     end
  626. end)
  627. GamepassSection:NewToggle("Tail Logo", "Gets the gamepass.", function(state)
  628.     if state then
  629.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = true
  630.     else
  631.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = false
  632.     end
  633. end)
  634. GamepassSection:NewToggle("2x Earnings", "Gets the gamepass.", function(state)
  635.     if state then
  636.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = true
  637.     else
  638.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = false
  639.     end
  640.     end)
  641. OtherSection:NewButton("Refresh Flight", "Refreshes the flight ID.", function()
  642.     for i, v in pairs(workspace.flights:GetChildren()) do
  643.         if v:FindFirstChild("clientFolder") then
  644.             print("refresh")
  645.             FlightNumber = v.Name
  646.             client_ui = PlayerGui.client_ui
  647. cart_items = client_ui.side_frame.cart.center
  648. cart_right = client_ui.side_frame.cart.right
  649. cart_button = client_ui.side_frame.cart.bottom.Button
  650. cart_button_beverage = client_ui.side_frame.cart.right.economyBeverage.Button
  651. cart_button_food = client_ui.side_frame.cart.right.economyFood.Button
  652.             break
  653.         end
  654.     end
  655. end)
  656. OtherCheatSection:NewButton("Dark DEX V4", "Executes Dark DEX V4.", function()
  657.     loadstring(game:HttpGet(("https://gist.githubusercontent.com/DinosaurXxX/b757fe011e7e600c0873f967fe427dc2/raw/ee5324771f017073fc30e640323ac2a9b3bfc550/dark%2520dex%2520v4"),true))()
  658. end)
  659. OtherCheatSection:NewButton("Remote Spy", "Executes Remote Spy.", function()
  660.     -- Originally written by Autumn
  661. -- Amended by asd & 3dsboy08
  662. -- Fixed by wally - 8/22/19
  663. -- Improved by Pyseph - 1/22/20
  664.  
  665. local hookfunc = hookfunction or replaceclosure or replace_closure;
  666.  
  667. spawn(function()
  668.     local cGui = game:GetService'CoreGui';
  669.     local consoleUI = cGui:FindFirstChild('DevConsoleMaster') or cGui:WaitForChild('DevConsoleMaster');
  670.     local clientLog = consoleUI:FindFirstChild('ClientLog', true);
  671.     if not clientLog then
  672.         repeat wait()
  673.         until consoleUI:FindFirstChild('ClientLog', true);
  674.         clientLog = consoleUI:FindFirstChild('ClientLog', true);
  675.     end;
  676.     for i,v in next, clientLog:GetChildren() do
  677.         if v:FindFirstChild'msg' then
  678.             v.InputBegan:Connect(function(input)
  679.                 if input.UserInputType == Enum.UserInputType.MouseButton1 then
  680.                     setclipboard(v.msg.Text);
  681.                 end;
  682.             end);
  683.         end;
  684.     end;
  685.  
  686.     clientLog.ChildAdded:Connect(function(obj)
  687.         if not obj:FindFirstChild'msg' then obj:WaitForChild'msg'; end;
  688.         obj.InputBegan:Connect(function(input)
  689.             if input.UserInputType == Enum.UserInputType.MouseButton1 then
  690.                 setclipboard(obj.msg.Text);
  691.             end;
  692.         end);
  693.     end);
  694. end);
  695.  
  696. local enabled = {
  697.     BindableEvent   = false,
  698.     BindableFunction = false,
  699.     RemoteEvent   = true,
  700.     RemoteFunction   = true
  701. }
  702.  
  703. local ignore = {
  704.     --[[ -- I'd personally recommend keeping this commented out, as game scripts can name their remotes these
  705.     GetSetting = true,
  706.     GetSelection = true,
  707.     SelectionChanged = true,
  708.     GetAwaiting = true
  709.     --]]
  710. }
  711.  
  712. local metatable = assert(getrawmetatable, "needs access to function 'getrawmetatable'")(game)
  713. if setreadonly then
  714.     setreadonly(metatable, false)
  715. end
  716.  
  717. local function CountTable(t)
  718.     local count, key = 0
  719.     repeat
  720.         key = next(t, key)
  721.         if key ~= nil then
  722.             count = count + 1
  723.         end
  724.     until key == nil
  725.     return count
  726. end
  727.  
  728. local Globals = {
  729.     CFrame = 'CFrame.new(-)';
  730.     Vector3 = 'Vector3.new(-)';
  731.     Vector2 = 'Vector2.new(-)';
  732.     UDim2 = 'UDim2.new(-)';
  733.     Axis = 'Axis.new(-)';
  734.     BrickColor = 'BrickColor.new(-)';
  735.     Color3 = 'Color3.new(-)';
  736.     ColorSequence = 'ColorSequence.new(-)';
  737.     Region3 = 'Region3.new(-)';
  738.     TweenInfo = 'TweenInfo.new(-)';
  739.     NumberSequence = 'NumberSequence.new(-)';
  740.     Random = 'Random.new(-)';
  741.     NumberRange = 'NumberRange.new(-)';
  742.     Axis = 'Axis.new(-)';
  743. };
  744.  
  745. local PrintTable
  746. local function ParseObject(object, spacing, scope, checkedTables, keyBool)
  747.     spacing = keyBool and spacing .. '[' or spacing;
  748.     local objectType = type(object)
  749.     ifif state then
  750.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = true
  751.     else
  752.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = false
  753.     end
  754. end)
  755. GamepassSection:NewToggle("Premium Room", "Gets the gamepass.", function(state)
  756.     if state then
  757.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = true
  758.     else
  759.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = false
  760.     end
  761. end)
  762. GamepassSection:NewToggle("Custom Music", "Gets the gamepass.", function(state)
  763.     if state then
  764.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = true
  765.     else
  766.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = false
  767.     end
  768. end)
  769. GamepassSection:NewToggle("Multiplayer Connect", "Gets the gamepass.", function(state)
  770.     if state then
  771.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = true
  772.     else
  773.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = false
  774.     end
  775. end)
  776. GamepassSection:NewToggle("Tail Logo", "Gets the gamepass.", function(state)
  777.     if state then
  778.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = true
  779.     else
  780.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = false
  781.     end
  782. end)
  783. GamepassSection:NewToggle("2x Earnings", "Gets the gamepass.", function(state)
  784.     if state then
  785.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = true
  786.     else
  787.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = false
  788.     end
  789.     end)
  790. OtherSection:NewButton("Refresh Flight", "Refreshes the flight ID.", function()
  791.     for i, v in pairs(workspace.flights:GetChildren()) do
  792.         if v:FindFirstChild("clientFolder") then
  793.             print("refresh")
  794.             FlightNumber = v.Name
  795.             client_ui = PlayerGui.client_ui
  796. cart_items = client_ui.side_frame.cart.center
  797. cart_right = client_ui.side_frame.cart.right
  798. cart_button = client_ui.side_frame.cart.bottom.Button
  799. cart_button_beverage = client_ui.side_frame.cart.right.economyBeverage.Button
  800. cart_button_food = client_ui.side_frame.cart.right.economyFood.Button
  801.             break
  802.         end
  803.     end
  804. end)
  805. OtherCheatSection:NewButton("Dark DEX V4", "Executes Dark DEX V4.", function()
  806.     loadstring(game:HttpGet(("https://gist.githubusercontent.com/DinosaurXxX/b757fe011e7e600c0873f967fe427dc2/raw/ee5324771f017073fc30e640323ac2a9b3bfc550/dark%2520dex%2520v4"),true))()
  807. end)
  808. OtherCheatSection:NewButton("Remote Spy", "Executes Remote Spy.", function()
  809.     -- Originally written by Autumn
  810. -- Amended by asd & 3dsboy08
  811. -- Fixed by wally - 8/22/19
  812. -- Improved by Pyseph - 1/22/20
  813.  
  814. local hookfunc = hookfunction or replaceclosure or replace_closure;
  815.  
  816. spawn(function()
  817.     local cGui = game:GetService'CoreGui';
  818.     local consoleUI = cGui:FindFirstChild('DevConsoleMaster') or cGui:WaitForChild('DevConsoleMaster');
  819.     local clientLog = consoleUI:FindFirstChild('ClientLog', true);
  820.     if not clientLog then
  821.         repeat wait()
  822.         until consoleUI:FindFirstChild('ClientLog', true);
  823.         clientLog = consoleUI:FindFirstChild('ClientLog', true);
  824.     end;
  825.     for i,v in next, clientLog:GetChildren() do
  826.         if v:FindFirstChild'msg' then
  827.             v.InputBegan:Connect(function(input)
  828.                 if input.UserInputType == Enum.UserInputType.MouseButton1 then
  829.                     setclipboard(v.msg.Text);
  830.                 end;
  831.             end);
  832.         end;
  833.     end;
  834.  
  835.     clientLog.ChildAdded:Connect(function(obj)
  836.         if not obj:FindFirstChild'msg' then obj:WaitForChild'msg'; end;
  837.         obj.InputBegan:Connect(function(input)
  838.             if input.UserInputType == Enum.UserInputType.MouseButton1 then
  839.                 setclipboard(obj.msg.Text);
  840.             end;
  841.         end);
  842.     end);
  843. end);
  844.  
  845. local enabled = {
  846.     BindableEvent   = false,
  847.     BindableFunction = false,
  848.     RemoteEvent   = true,
  849.     RemoteFunction   = true
  850. }
  851.  
  852. local ignore = {
  853.     --[[ -- I'd personally recommend keeping this commented out, as game scripts can name their remotes these
  854.     GetSetting = true,
  855.     GetSelection = true,
  856.     SelectionChanged = true,
  857.     GetAwaiting = true
  858.     --]]
  859. }
  860.  
  861. local metatable = assert(getrawmetatable, "needs access to function 'getrawmetatable'")(game)
  862. if setreadonly then
  863.     setreadonly(metatable, false)
  864. end
  865.  
  866. local function CountTable(t)
  867.     local count, key = 0
  868.     repeat
  869.         key = next(t, key)
  870.         if key ~= nil then
  871.             count = count + 1
  872.         end
  873.     until key == nil
  874.     return count
  875. end
  876.  
  877. local Globals = {
  878.     CFrame = 'CFrame.new(-)';
  879.     Vector3 = 'Vector3.new(-)';
  880.     Vector2 = 'Vector2.new(-)';
  881.     UDim2 = 'UDim2.new(-)';
  882.     Axis = 'Axis.new(-)';
  883.     BrickColor = 'BrickColor.new(-)';
  884.     Color3 = 'Color3.new(-)';
  885.     ColorSequence = 'ColorSequence.new(-)';
  886.     Region3 = 'Region3.new(-)';
  887.     TweenInfo = 'TweenInfo.new(-)';
  888.     NumberSequence = 'NumberSequence.new(-)';
  889.     Random = 'Random.new(-)';
  890.     NumberRange = 'NumberRange.new(-)';
  891.     Axis = 'Axis.new(-)';
  892. };
  893.  
  894. local PrintTable
  895. local function ParseObject(object, spacing, scope, checkedTables, keyBool)
  896.     spacing = keyBool and spacing .. '[' or spacing;
  897.     local objectType = type(object)
  898.     ifif state then
  899.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = true
  900.     else
  901.         game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = false
  902.     end
  903. end)
  904. GamepassSection:NewToggle("Premium Room", "Gets the gamepass.", function(state)
  905.     if state then
  906.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = true
  907.     else
  908.         game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value = false
  909.     end
  910. end)
  911. GamepassSection:NewToggle("Custom Music", "Gets the gamepass.", function(state)
  912.     if state then
  913.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = true
  914.     else
  915.         game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value = false
  916.     end
  917. end)
  918. GamepassSection:NewToggle("Multiplayer Connect", "Gets the gamepass.", function(state)
  919.     if state then
  920.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = true
  921.     else
  922.         game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value = false
  923.     end
  924. end)
  925. GamepassSection:NewToggle("Tail Logo", "Gets the gamepass.", function(state)
  926.     if state then
  927.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = true
  928.     else
  929.         game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = false
  930.     end
  931. end)
  932. GamepassSection:NewToggle("2x Earnings", "Gets the gamepass.", function(state)
  933.     if state then
  934.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = true
  935.     else
  936.         game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value = false
  937.     end
  938.     end)
  939. OtherSection:NewButton("Refresh Flight", "Refreshes the flight ID.", function()
  940.     for i, v in pairs(workspace.flights:GetChildren()) do
  941.         if v:FindFirstChild("clientFolder") then
  942.             print("refresh")
  943.             FlightNumber = v.Name
  944.             client_ui = PlayerGui.client_ui
  945. cart_items = client_ui.side_frame.cart.center
  946. cart_right = client_ui.side_frame.cart.right
  947. cart_button = client_ui.side_frame.cart.bottom.Button
  948. cart_button_beverage = client_ui.side_frame.cart.right.economyBeverage.Button
  949. cart_button_food = client_ui.side_frame.cart.right.economyFood.Button
  950.             break
  951.         end
  952.     end
  953. end)
  954. OtherCheatSection:NewButton("Dark DEX V4", "Executes Dark DEX V4.", function()
  955.     loadstring(game:HttpGet(("https://gist.githubusercontent.com/DinosaurXxX/b757fe011e7e600c0873f967fe427dc2/raw/ee5324771f017073fc30e640323ac2a9b3bfc550/dark%2520dex%2520v4"),true))()
  956. end)
  957. OtherCheatSection:NewButton("Remote Spy", "Executes Remote Spy.", function()
  958.     -- Originally written by Autumn
  959. -- Amended by asd & 3dsboy08
  960. -- Fixed by wally - 8/22/19
  961. -- Improved by Pyseph - 1/22/20
  962.  
  963. local hookfunc = hookfunction or replaceclosure or replace_closure;
  964.  
  965. spawn(function()
  966.     local cGui = game:GetService'CoreGui';
  967.     local consoleUI = cGui:FindFirstChild('DevConsoleMaster') or cGui:WaitForChild('DevConsoleMaster');
  968.     local clientLog = consoleUI:FindFirstChild('ClientLog', true);
  969.     if not clientLog then
  970.         repeat wait()
  971.         until consoleUI:FindFirstChild('ClientLog', true);
  972.         clientLog = consoleUI:FindFirstChild('ClientLog', true);
  973.     end;
  974.     for i,v in next, clientLog:GetChildren() do
  975.         if v:FindFirstChild'msg' then
  976.             v.InputBegan:Connect(function(input)
  977.                 if input.UserInputType == Enum.UserInputType.MouseButton1 then
  978.                     setclipboard(v.msg.Text);
  979.                 end;
  980.             end);
  981.         end;
  982.     end;
  983.  
  984.     clientLog.ChildAdded:Connect(function(obj)
  985.         if not obj:FindFirstChild'msg' then obj:WaitForChild'msg'; end;
  986.         obj.InputBegan:Connect(function(input)
  987.             if input.UserInputType == Enum.UserInputType.MouseButton1 then
  988.                 setclipboard(obj.msg.Text);
  989.             end;
  990.         end);
  991.     end);
  992. end);
  993.  
  994. local enabled = {
  995.     BindableEvent   = false,
  996.     BindableFunction = false,
  997.     RemoteEvent   = true,
  998.     RemoteFunction   = true
  999. }
  1000.  
  1001. local ignore = {
  1002.     --[[ -- I'd personally recommend keeping this commented out, as game scripts can name their remotes these
  1003.     GetSetting = true,
  1004.     GetSelection = true,
  1005.     SelectionChanged = true,
  1006.     GetAwaiting = true
  1007.     --]]
  1008. }
  1009.  
  1010. local metatable = assert(getrawmetatable, "needs access to function 'getrawmetatable'")(game)
  1011. if setreadonly then
  1012.     setreadonly(metatable, false)
  1013. end
  1014.  
  1015. local function CountTable(t)
  1016.     local count, key = 0
  1017.     repeat
  1018.         key = next(t, key)
  1019.         if key ~= nil then
  1020.             count = count + 1
  1021.         end
  1022.     until key == nil
  1023.     return count
  1024. end
  1025.  
  1026. local Globals = {
  1027.     CFrame = 'CFrame.new(-)';
  1028.     Vector3 = 'Vector3.new(-)';
  1029.     Vector2 = 'Vector2.new(-)';
  1030.     UDim2 = 'UDim2.new(-)';
  1031.     Axis = 'Axis.new(-)';
  1032.     BrickColor = 'BrickColor.new(-)';
  1033.     Color3 = 'Color3.new(-)';
  1034.     ColorSequence = 'ColorSequence.new(-)';
  1035.     Region3 = 'Region3.new(-)';
  1036.     TweenInfo = 'TweenInfo.new(-)';
  1037.     NumberSequence = 'NumberSequence.new(-)';
  1038.     Random = 'Random.new(-)';
  1039.     NumberRange = 'NumberRange.new(-)';
  1040.     Axis = 'Axis.new(-)';
  1041. };
  1042.  
  1043. local PrintTable
  1044. local function ParseObject(object, spacing, scope, checkedTables, keyBool)
  1045.     spacing = keyBool and spacing .. '[' or spacing;
  1046.     local objectType = type(object)
  1047.     if Globals[typeof(object)] then
  1048.         return spacing .. Globals[typeof(object)]:gsub('-', tostring(object));
  1049.     elseif typeof(object) == 'Instance' then
  1050.         return spacing .. object:GetFullName();
  1051.     elseif objectType == "string" then
  1052.         return spacing .. string.format("%q", object)
  1053.     elseif objectType == "nil" then
  1054.         return spacing .. "nil"
  1055.     elseif objectType == "table" then
  1056.         if checkedTables[object] then
  1057.             return spacing .. tostring(object) .. " [recursive table]"
  1058.         else
  1059.             checkedTables[object] = true
  1060.             return spacing .. PrintTable(object, scope + 1, checkedTables)
  1061.         end
  1062.     elseif objectType == "userdata" then
  1063.         if typeof(object) == "userdata" then
  1064.             return spacing .. "userdata"
  1065.         else
  1066.             return spacing .. tostring(object)
  1067.         end
  1068.     else -- userdata, function, boolean, thread, number
  1069.         return spacing .. tostring(object)
  1070.     end
  1071. end
  1072.  
  1073.  
  1074.  
  1075. function PrintTable(t, scope, checkedTables)
  1076.     local mt = getrawmetatable(t)
  1077.     local backup = {}
  1078.     if mt and mt ~= t then
  1079.         for i, v in pairs(mt) do
  1080.             rawset(backup, i, v)
  1081.             rawset(mt, i, nil)
  1082.         end
  1083.     end
  1084.  
  1085.     checkedTables = checkedTables or {}
  1086.     scope = scope or 1
  1087.     local result = (checkedTables and "{" or "") .. "\n"
  1088.     local spacing = string.rep("    ", scope)
  1089.     local function parse(index, value)
  1090.         result = result .. ParseObject(index, spacing, scope, checkedTables, true) .. "] = " .. ParseObject(value, "", scope, checkedTables) .. "\n"
  1091.     end
  1092.  
  1093.     if CountTable(t) ~= #t then
  1094.         table.foreach(t, parse) -- I'm very aware this is a deprecated function
  1095.     else
  1096.         for index = 1, select("#", unpack(t)) do
  1097.             parse(index, t[index])
  1098.         end
  1099.     end
  1100.  
  1101.     if mt and mt ~= t then
  1102.         for i, v in pairs(mt) do
  1103.             rawset(mt, rawget(backup, i), v)
  1104.         end
  1105.     end
  1106.  
  1107.     return result .. string.sub(spacing, 4, #spacing - 1) .. (checkedTables and "}" or "")
  1108. end
  1109.  
  1110. local methods = {
  1111.     BindableEvent = "Fire",
  1112.     BindableFunction = "Invoke",
  1113.     RemoteEvent = "FireServer",
  1114.     RemoteFunction = "InvokeServer"
  1115. }
  1116.  
  1117.  
  1118. local __namecall = __namecall or metatable.__namecall
  1119. local __index = __index or metatable.__index
  1120. if getgenv then
  1121.     if removeSpy then
  1122.         removeSpy()
  1123.     end
  1124.     getgenv().__namecall = __namecall
  1125.     getgenv().__index = __index
  1126.     getgenv().removeSpy = function()
  1127.         getgenv().removeSpy = nil
  1128.         metatable.__namecall = __namecall
  1129.         metatable.__index = __index
  1130.     end
  1131. end
  1132.  
  1133. local function LocalizedRemoteCallback(class)
  1134.     return newcclosure(function(self, ...)
  1135.         if typeof(self) ~= "Instance" then
  1136.             error(select(2, pcall(methods[class], self)), 0)
  1137.         end
  1138.  
  1139.         if self.ClassName ~= class then
  1140.             error(select(2, pcall(methods[class], self)), 0)
  1141.         end
  1142.  
  1143.         local arguments = {...};
  1144.         local result    = {};
  1145.  
  1146.         local callerScript = rawget(getfenv(0), "script")
  1147.         callerScript = typeof(callerScript) == "Instance" and callerScript or nil
  1148.  
  1149.         if enabled[self.ClassName] and (not ignore[self.Name]) then
  1150.             print(string.format(
  1151.                 "%s called!\nFrom Script: %s\nPath: %s\nArguments: %s\nReturn: %s",
  1152.                 self.ClassName,
  1153.                 tostring(not callerScript and "Not Found" or callerScript:GetFullName()),
  1154.                 (not self.Parent and "[NIL]: " or "") .. self:GetFullName(),
  1155.                 CountTable(arguments) == 0 and "None!" or PrintTable(arguments),
  1156.                 CountTable(result) == 0 and "None!" or PrintTable(result)
  1157.             ))
  1158.         end
  1159.  
  1160.         return unpack({methods[class](self, ...)})
  1161.     end)
  1162. end
  1163.  
  1164. LocalizedRemoteCallback  = newcclosure(LocalizedRemoteCallback)
  1165.  
  1166. for className, func in next, methods do
  1167.     methods[className] = hookfunc(Instance.new(className)[func], LocalizedRemoteCallback(className))
  1168. end
  1169.  
  1170. local function IsAuthorized(self, index)
  1171.     local map = {
  1172.         BindableEvent = "Fire",
  1173.         BindableFunction = "Invoke",
  1174.         RemoteEvent = "FireServer",
  1175.         RemoteFunction = "InvokeServer"
  1176.     }
  1177.  
  1178.  
  1179.     if (not map[self.ClassName]) then
  1180.         return false
  1181.     end
  1182.  
  1183.     if (not rawequal(map[self.ClassName], index)) then
  1184.         return false;
  1185.     end  
  1186.  
  1187.     if (ignore[self.Name]) or (not enabled[self.ClassName]) then
  1188.         return false
  1189.     end
  1190.  
  1191.     return true;
  1192. end
  1193.  
  1194. local LuaU = isluau()
  1195.  
  1196. local RemoteCallback = newcclosure(function(self, ...)
  1197.     if typeof(self) ~= "Instance" then
  1198.         return error(select(2, pcall(__index, self))) -- magic
  1199.     end
  1200.  
  1201.     local arguments = {...}
  1202.     local result = {}
  1203.     local callerScript = rawget(getfenv(0), "script")
  1204.     callerScript = typeof(callerScript) == "Instance" and callerScript or nil
  1205.     print(string.format(
  1206.         "%s called!\nFrom Script: %s\nPath: %s\nArguments: %s\nReturn: %s",
  1207.         self.ClassName,
  1208. tostring(not callerScript and "Not Found" or callerScript:GetFullName()),
  1209.         (not self.Parent and "[NIL]: " or "") .. self:GetFullName(),
  1210.         CountTable(arguments) == 0 and "None!" or PrintTable(arguments),
  1211.         CountTable(result) == 0 and "None!" or PrintTable(result)
  1212.     ))
  1213.     return unpack({methods[self.ClassName](self, ...)})
  1214. end)
  1215.  
  1216. function metatable:__namecall(...)
  1217.     local arguments = {...}
  1218.     local index = LuaU and getnamecallmethod() or table.remove(arguments)
  1219.     if IsAuthorized(self, index) then
  1220.         return RemoteCallback(self, unpack(arguments))
  1221.     end
  1222.     return __namecall(self, ...)
  1223. end
  1224.  
  1225. metatable.__namecall = newcclosure(metatable.__namecall)
  1226. end)
  1227. OtherCheatSection:NewButton("Infinite Yield", "Executes Infinite Yield.", function()
  1228.     loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
  1229. end)
  1230. OtherCheatSection:NewButton("Keyboard GUI (For mobile users)", "", function()
  1231.     loadstring(game:HttpGet("https://raw.githubusercontent.com/advxzivhsjjdhxhsidifvsh/mobkeyboard/main/main.txt", true))()
  1232. end)
  1233. OtherSection:NewButton("Copy Flight number", "Copies the flight number into the clipboard.", function()
  1234.     for i, v in pairs(workspace.flights:GetChildren()) do
  1235.         if v:FindFirstChild("clientFolder") then
  1236.             print("copy")
  1237.             setclipboard(v.Name)
  1238.    
  1239.             break
  1240.         end
  1241.     end
  1242. end)
  1243. OtherSection:NewButton("Show/Hide all debug menus", "Shows all debug menus the developers did not expect.", function()
  1244.     game.Players.LocalPlayer.PlayerGui.ScreenGui.ResponseList.Visible = not game.Players.LocalPlayer.PlayerGui.ScreenGui.ResponseList.Visible
  1245. game.Players.LocalPlayer.PlayerGui.ScreenGui.debugMenu.Visible = not game.Players.LocalPlayer.PlayerGui.ScreenGui.debugMenu.Visible
  1246. game.Players.LocalPlayer.PlayerGui.Dev.Enabled = not game.Players.LocalPlayer.PlayerGui.Dev.Enabled
  1247. game.Players.LocalPlayer.PlayerGui.CX_DEBUG.Enabled = not game.Players.LocalPlayer.PlayerGui.CX_DEBUG.Enabled
  1248. end)
  1249. LocalPlayerSection:NewSlider("Walk Speed", "Sets your speed.", 100, 0 ,function(number) PlayerCharacter.Humanoid.WalkSpeed = number end)
  1250. LocalPlayerSection:NewSlider("Jump Power", "Sets your jump power.", 100, 0 ,function(number) PlayerCharacter:WaitForChild("Humanoid").JumpPower = number end)
  1251. LocalPlayerSection:NewButton("Noclip (Press E to noclip)", "", function()
  1252.     noclip = false
  1253.     game:GetService('RunService').Stepped:connect(function()
  1254.     if noclip then
  1255.     game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  1256.     end
  1257.     end)
  1258.     plr = game.Players.LocalPlayer
  1259.     mouse = plr:GetMouse()
  1260.     mouse.KeyDown:connect(function(key)
  1261.  
  1262. if key == "e" then
  1263. noclip = not noclip
  1264. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  1265. end
  1266. end)
  1267. end)
  1268. client_ui = PlayerGui.client_ui
  1269. cart_items = client_ui.side_frame.cart.center
  1270. cart_right = client_ui.side_frame.cart.right
  1271. cart_button = client_ui.side_frame.cart.bottom.Button
  1272. cart_button_beverage = client_ui.side_frame.cart.right.economyBeverage.Button
  1273. cart_button_food = client_ui.side_frame.cart.right.economyFood.Button
  1274. endtostring(not callerScript and "Not Found" or callerScript:GetFullName()),
  1275.         (not self.Parent and "[NIL]: " or "") .. self:GetFullName(),
  1276.         CountTable(arguments) == 0 and "None!" or PrintTable(arguments),
  1277.         CountTable(result) == 0 and "None!" or PrintTable(result)
  1278.     ))
  1279.     return unpack({methods[self.ClassName](self, ...)})
  1280. end)
  1281.  
  1282. function metatable:__namecall(...)
  1283.     local arguments = {...}
  1284.     local index = LuaU and getnamecallmethod() or table.remove(arguments)
  1285.     if IsAuthorized(self, index) then
  1286.         return RemoteCallback(self, unpack(arguments))
  1287.     end
  1288.     return __namecall(self, ...)
  1289. end
  1290.  
  1291. metatable.__namecall = newcclosure(metatable.__namecall)
  1292. end)
  1293. OtherCheatSection:NewButton("Infinite Yield", "Executes Infinite Yield.", function()
  1294.     loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
  1295. end)
  1296. OtherCheatSection:NewButton("Keyboard GUI (For mobile users)", "", function()
  1297.     loadstring(game:HttpGet("https://raw.githubusercontent.com/advxzivhsjjdhxhsidifvsh/mobkeyboard/main/main.txt", true))()
  1298. end)
  1299. OtherSection:NewButton("Copy Flight number", "Copies the flight number into the clipboard.", function()
  1300.     for i, v in pairs(workspace.flights:GetChildren()) do
  1301.         if v:FindFirstChild("clientFolder") then
  1302.             print("copy")
  1303.             setclipboard(v.Name)
  1304.    
  1305.             break
  1306.         end
  1307.     end
  1308. end)
  1309. OtherSection:NewButton("Show/Hide all debug menus", "Shows all debug menus the developers did not expect.", function()
  1310.     game.Players.LocalPlayer.PlayerGui.ScreenGui.ResponseList.Visible = not game.Players.LocalPlayer.PlayerGui.ScreenGui.ResponseList.Visible
  1311. game.Players.LocalPlayer.PlayerGui.ScreenGui.debugMenu.Visible = not game.Players.LocalPlayer.PlayerGui.ScreenGui.debugMenu.Visible
  1312. game.Players.LocalPlayer.PlayerGui.Dev.Enabled = not game.Players.LocalPlayer.PlayerGui.Dev.Enabled
  1313. game.Players.LocalPlayer.PlayerGui.CX_DEBUG.Enabled = not game.Players.LocalPlayer.PlayerGui.CX_DEBUG.Enabled
  1314. end)
  1315. LocalPlayerSection:NewSlider("Walk Speed", "Sets your speed.", 100, 0 ,function(number) PlayerCharacter.Humanoid.WalkSpeed = number end)
  1316. LocalPlayerSection:NewSlider("Jump Power", "Sets your jump power.", 100, 0 ,function(number) PlayerCharacter:WaitForChild("Humanoid").JumpPower = number end)
  1317. LocalPlayerSection:NewButton("Noclip (Press E to noclip)", "", function()
  1318.     noclip = false
  1319.     game:GetService('RunService').Stepped:connect(function()
  1320.     if noclip then
  1321.     game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  1322.     end
  1323.     end)
  1324.     plr = game.Players.LocalPlayer
  1325.     mouse = plr:GetMouse()
  1326.     mouse.KeyDown:connect(function(key)
  1327.  
  1328. if key == "e" then
  1329. noclip = not noclip
  1330. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  1331. end
  1332. end)
  1333. end)
  1334. client_ui = PlayerGui.client_ui
  1335. cart_items = client_ui.side_frame.cart.center
  1336. cart_right = client_ui.side_frame.cart.right
  1337. cart_button = client_ui.side_frame.cart.bottom.Button
  1338. cart_button_beverage = client_ui.side_frame.cart.right.economyBeverage.Button
  1339. cart_button_food = client_ui.side_frame.cart.right.economyFood.Button
  1340. end
Tags: Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement