Cabin Crew Simulator Autofarm Script
Cabin Crew Simulator Autofarm Script
for i, v in pairs(workspace.flights:GetChildren()) do
if v:FindFirstChild("clientFolder") then
print("flight check test passed")
FlightNumber = v.Name
break
end
end
function GetObjectFromFullName(fullName)
local segments = fullName:split(".")
local current = game
return current
end
function FixAllProblem()
for i, v in
pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()
[1].npcs:GetChildren()) do
if v.configurations.on_plane.Value == true then
if v.Head.alerts:FindFirstChild("fix") then
wait()
PlayerCharacter.Client.Client.RemoteEvent:FireServer("Fix",
"tray",GetObjectFromFullName(v:GetFullName()))
PlayerCharacter.Client.Client.RemoteEvent:FireServer("Fix",
"seatbelt",GetObjectFromFullName(v:GetFullName()))
PlayerCharacter.Client.Client.RemoteEvent:FireServer("Fix",
"seat",GetObjectFromFullName(v:GetFullName()))
end
end
end
end
function ServeNPCAllFood(npc: Instance)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("Cart", "economy",
"food")
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 1)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 2)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 3)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 4)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 5)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 6)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 7)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 8)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 9)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 10)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"economy", 11)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
end
function ServeNPCAllBeverage(npc: Instance)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("Cart", "economy",
"beverage")
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 1)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 2)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 3)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 4)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 5)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 6)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 7)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 8)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 9)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 10)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem",
"beverage", "economy", 11)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
end
-- For First Class/ Buisness
function ServeNPCAllFoodFC(npc: Instance)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 1)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 2)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 3)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 4)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 5)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 6)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 7)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 8)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 9)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 10)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GetItem", "food",
"first_class", 11)
PlayerCharacter.Client.Client.RemoteFunction:InvokeServer("GiveItem", npc)
end
ServeNPCAllFood(v)
ServeNPCAllBeverage(v)
wait()
end
end
end
function ServeAllNPCSFoodFC()
for i, v in
pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()
[1].npcs:GetChildren()) do
if v.configurations.on_plane.Value == true then
ServeNPCAllFoodFC(v)
ServeNPCAllBeverageFC(v)
wait()
end
end
end
function ThrowAllTrash()
for i, v in
pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do
if v.Name == "alert" then
for iv, vi in
pairs(workspace.flights:WaitForChild(FlightNumber).clientFolder:GetChildren()
[1].npcs:GetChildren()) do
if vi.configurations.on_plane.Value == true then
game:GetService("Players").LocalPlayer.gamepasses["premium_flight_attendant"].Value
= true
else
game:GetService("Players").LocalPlayer.gamepasses["premium_flight_attendant"].Value
= false
end
end)
GamepassSection:NewToggle("Custom Lighting", "Gets the gamepass.", function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["custom_lighting"].Value
= true
else
game:GetService("Players").LocalPlayer.gamepasses["custom_lighting"].Value
= false
end
end)
GamepassSection:NewToggle("Extra Design", "Gets the gamepass.", function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["extra_design"].Value =
true
else
game:GetService("Players").LocalPlayer.gamepasses["extra_design"].Value =
false
end
end)
GamepassSection:NewToggle("Emergency Control", "Gets the gamepass.",
function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value = true
else
game:GetService("Players").LocalPlayer.gamepasses["emergency_control"].Value =
false
end
end)
GamepassSection:NewToggle("Premium Room", "Gets the gamepass.", function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value =
true
else
game:GetService("Players").LocalPlayer.gamepasses["premium_room"].Value =
false
end
end)
GamepassSection:NewToggle("Custom Music", "Gets the gamepass.", function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value =
true
else
game:GetService("Players").LocalPlayer.gamepasses["custom_music"].Value =
false
end
end)
GamepassSection:NewToggle("Multiplayer Connect", "Gets the gamepass.",
function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value =
true
else
game:GetService("Players").LocalPlayer.gamepasses["multiplayer"].Value =
false
end
end)
GamepassSection:NewToggle("Tail Logo", "Gets the gamepass.", function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value = true
else
game:GetService("Players").LocalPlayer.gamepasses["tail_logo"].Value =
false
end
end)
GamepassSection:NewToggle("2x Earnings", "Gets the gamepass.", function(state)
if state then
game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value =
true
else
game:GetService("Players").LocalPlayer.gamepasses["x2_earnings"].Value =
false
end
end)
OtherSection:NewButton("Refresh Flight", "Refreshes the flight ID.", function()
for i, v in pairs(workspace.flights:GetChildren()) do
if v:FindFirstChild("clientFolder") then
print("refresh")
FlightNumber = v.Name
break
end
end
end)
OtherCheatSection:NewButton("Dark DEX V4", "Executes Dark DEX V4.", function()
loadstring(game:HttpGet(("https://gist.githubusercontent.com/DinosaurXxX/
b757fe011e7e600c0873f967fe427dc2/raw/ee5324771f017073fc30e640323ac2a9b3bfc550/dark
%2520dex%2520v4"),true))()
end)
OtherCheatSection:NewButton("Remote Spy", "Executes Remote Spy.", function()
-- Originally written by Autumn
-- Amended by asd & 3dsboy08
-- Fixed by wally - 8/22/19
-- Improved by Pyseph - 1/22/20
spawn(function()
local cGui = game:GetService'CoreGui';
local consoleUI = cGui:FindFirstChild('DevConsoleMaster') or
cGui:WaitForChild('DevConsoleMaster');
local clientLog = consoleUI:FindFirstChild('ClientLog', true);
if not clientLog then
repeat wait()
until consoleUI:FindFirstChild('ClientLog', true);
clientLog = consoleUI:FindFirstChild('ClientLog', true);
end;
for i,v in next, clientLog:GetChildren() do
if v:FindFirstChild'msg' then
v.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
setclipboard(v.msg.Text);
end;
end);
end;
end;
clientLog.ChildAdded:Connect(function(obj)
if not obj:FindFirstChild'msg' then obj:WaitForChild'msg'; end;
obj.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
setclipboard(obj.msg.Text);
end;
end);
end);
end);
local enabled = {
BindableEvent = false,
BindableFunction = false,
RemoteEvent = true,
RemoteFunction = true
}
local ignore = {
--[[ -- I'd personally recommend keeping this commented out, as game scripts
can name their remotes these
GetSetting = true,
GetSelection = true,
SelectionChanged = true,
GetAwaiting = true
--]]
}
local Globals = {
CFrame = 'CFrame.new(-)';
Vector3 = 'Vector3.new(-)';
Vector2 = 'Vector2.new(-)';
UDim2 = 'UDim2.new(-)';
Axis = 'Axis.new(-)';
BrickColor = 'BrickColor.new(-)';
Color3 = 'Color3.new(-)';
ColorSequence = 'ColorSequence.new(-)';
Region3 = 'Region3.new(-)';
TweenInfo = 'TweenInfo.new(-)';
NumberSequence = 'NumberSequence.new(-)';
Random = 'Random.new(-)';
NumberRange = 'NumberRange.new(-)';
Axis = 'Axis.new(-)';
};
local PrintTable
local function ParseObject(object, spacing, scope, checkedTables, keyBool)
spacing = keyBool and spacing .. '[' or spacing;
local objectType = type(object)
if Globals[typeof(object)] then
return spacing .. Globals[typeof(object)]:gsub('-', tostring(object));
elseif typeof(object) == 'Instance' then
return spacing .. object:GetFullName();
elseif objectType == "string" then
return spacing .. string.format("%q", object)
elseif objectType == "nil" then
return spacing .. "nil"
elseif objectType == "table" then
if checkedTables[object] then
return spacing .. tostring(object) .. " [recursive table]"
else
checkedTables[object] = true
return spacing .. PrintTable(object, scope + 1, checkedTables)
end
elseif objectType == "userdata" then
if typeof(object) == "userdata" then
return spacing .. "userdata"
else
return spacing .. tostring(object)
end
else -- userdata, function, boolean, thread, number
return spacing .. tostring(object)
end
end
checkedTables = checkedTables or {}
scope = scope or 1
local result = (checkedTables and "{" or "") .. "\n"
local spacing = string.rep(" ", scope)
local function parse(index, value)
result = result .. ParseObject(index, spacing, scope, checkedTables,
true) .. "] = " .. ParseObject(value, "", scope, checkedTables) .. "\n"
end
if CountTable(t) ~= #t then
table.foreach(t, parse) -- I'm very aware this is a deprecated function
else
for index = 1, select("#", unpack(t)) do
parse(index, t[index])
end
end
if mt and mt ~= t then
for i, v in pairs(mt) do
rawset(mt, rawget(backup, i), v)
end
end
local methods = {
BindableEvent = "Fire",
BindableFunction = "Invoke",
RemoteEvent = "FireServer",
RemoteFunction = "InvokeServer"
}
LocalizedRemoteCallback = newcclosure(LocalizedRemoteCallback)
return true;
end
metatable.__namecall = newcclosure(metatable.__namecall)
end)
OtherCheatSection:NewButton("Infinite Yield", "Executes Infinite Yield.",
function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/
infiniteyield/master/source"))()
end)
LocalPlayerSection:NewSlider("Walk Speed", "Sets your speed.", 100,
0 ,function(number) PlayerCharacter.Humanoid.WalkSpeed = number end)
LocalPlayerSection:NewSlider("Jump Power", "Sets your jump power.", 100,
0 ,function(number) PlayerCharacter.Humanoid.JumpPower = number end)
end