Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 47.34 KB | None | 0 0
  1. --https://v3rmillion.net/showthread.php?tid=688367
  2. a, b, c, d =
  3.     getupvalues or debug.getupvalues,
  4.     getupvalue or debug.getupvalue,
  5.     setupvalue or debug.setupvalue,
  6.     islclosure or is_l_closure
  7. local L = game:GetService("Players")
  8. local M = L.LocalPlayer or L:GetPropertyChangedSignal("LocalPlayer"):Wait() or L.LocalPlayer
  9. local N = game:GetService("VirtualInputManager")
  10. local O, P
  11. local Q = {}
  12. local R = Vector3.new()
  13. local S = false
  14. local T, U, V = Color3.fromRGB(0, 222, 0), Color3.fromRGB(222, 0, 0), Color3.fromRGB(222, 222, 222)
  15. local W = {
  16.     enabled = true,
  17.     jewlAllowCrims = false,
  18.     preferLongTP = false,
  19.     bankRadius2 = 19,
  20.     preferUnsafeEsc = false,
  21.     warnSeconds = 1.5,
  22.     respawnForPlane = true
  23. }
  24. local X = false
  25. if readfile then
  26.     pcall(
  27.         function()
  28.             local ic = game:GetService("HttpService"):JSONDecode(readfile("JBAR.txt"))
  29.             local jc = false
  30.             for kc, lc in pairs(ic) do
  31.                 if W[kc] == nil then
  32.                     jc = true
  33.                     ic[kc] = nil
  34.                 end
  35.             end
  36.             for kc, lc in pairs(W) do
  37.                 if ic[kc] == nil then
  38.                     jc = true
  39.                     ic[kc] = lc
  40.                 end
  41.             end
  42.             if jc then
  43.                 X = true
  44.                 writefile("JBAR.txt", game:GetService("HttpService"):JSONEncode(ic))
  45.             end
  46.             W = ic
  47.         end
  48.     )
  49. end
  50. local Y = game:GetService("RunService").Stepped
  51. local Z = {}
  52. local ab
  53. local bb = function()
  54.     for ic = 1, #Z do
  55.         Z[ic].CanCollide = false
  56.     end
  57. end
  58. local function cb()
  59.     if not ab then
  60.         ab = Y:Connect(bb)
  61.     end
  62. end
  63. local function db()
  64.     if ab then
  65.         ab:Disconnect()
  66.         ab = nil
  67.     end
  68. end
  69. local function eb(ic)
  70.     if ic then
  71.         Q = ic:WaitForChild("HumanoidRootPart")
  72.         P = ic:WaitForChild("Humanoid")
  73.         wait(0.2)
  74.         Z = {}
  75.         for jc, kc in ipairs(ic:GetChildren()) do
  76.             if kc:IsA("BasePart") then
  77.                 Z[#Z + 1] = kc
  78.             end
  79.         end
  80.     end
  81. end
  82. eb(M.Character)
  83. M.CharacterAdded:Connect(eb)
  84. e = function(ic, jc, kc)
  85.     local lc = Instance.new(ic)
  86.     for mc, nc in next, kc do
  87.         lc[mc] = nc
  88.     end
  89.     lc.Parent = jc
  90.     return lc
  91. end
  92. f = e("ScreenGui", game.CoreGui, {Name = "Heil AutoRov", ResetOnSpawn = false, ZIndexBehavior = "Sibling"})
  93. g =
  94.     e(
  95.     "Frame",
  96.     f,
  97.     {
  98.         Name = "Main",
  99.         ClipsDescendants = true,
  100.         Draggable = true,
  101.         Active = true,
  102.         Size = UDim2.new(0, 333, 0, 140),
  103.         Position = UDim2.new(0.1, 0, 0.3, 0),
  104.         BackgroundColor3 = Color3.new(0, 0.118, 0.239)
  105.     }
  106. )
  107. h =
  108.     e(
  109.     "Frame",
  110.     g,
  111.     {
  112.         Name = "homeFrame",
  113.         BackgroundTransparency = 1,
  114.         Size = UDim2.new(1, -30, 1, -55),
  115.         Position = UDim2.new(0, 15, 0, 40)
  116.     }
  117. )
  118. i =
  119.     e(
  120.     "TextButton",
  121.     h,
  122.     {
  123.         Name = "AbortBtn",
  124.         Size = UDim2.new(0.48, 0, 0.3, 0),
  125.         Text = "ABORT",
  126.         Font = "SourceSans",
  127.         Position = UDim2.new(0.52, 0, 0.25, 0),
  128.         TextSize = 23,
  129.         AutoButtonColor = false,
  130.         BackgroundColor3 = Color3.new(0.502, 0.498, 0.506)
  131.     }
  132. )
  133. j =
  134.     e(
  135.     "Frame",
  136.     i,
  137.     {
  138.         Name = "Shade",
  139.         BackgroundTransparency = 0.9,
  140.         Size = UDim2.new(1, 0, 0.5, 0),
  141.         Position = UDim2.new(0, 0, 0.5, 0),
  142.         BackgroundColor3 = Color3.new(),
  143.         Visible = false
  144.     }
  145. )
  146. k =
  147.     e(
  148.     "TextLabel",
  149.     h,
  150.     {
  151.         Name = "Status",
  152.         Size = UDim2.new(1, 0, 0.27, 0),
  153.         Text = "Status: Booting Up",
  154.         TextSize = 15,
  155.         TextXAlignment = "Left",
  156.         Font = "Code",
  157.         Position = UDim2.new(0, 0, 0.73, 0),
  158.         BackgroundColor3 = Color3.new(0.765, 0.765, 0.765)
  159.     }
  160. )
  161. l =
  162.     e(
  163.     "TextButton",
  164.     h,
  165.     {
  166.         Name = "ToggleBtn",
  167.         Size = UDim2.new(0.48, 0, 0.3, 0),
  168.         Text = "TOGGLE",
  169.         Font = "SourceSans",
  170.         Position = UDim2.new(0, 0, 0.25, 0),
  171.         TextSize = 23,
  172.         BackgroundColor3 = W.enabled and T or U
  173.     }
  174. )
  175. m =
  176.     e(
  177.     "Frame",
  178.     l,
  179.     {
  180.         Name = "Shade",
  181.         BackgroundTransparency = 0.9,
  182.         Size = UDim2.new(1, 0, 0.5, 0),
  183.         Position = UDim2.new(0, 0, 0.5, 0),
  184.         BackgroundColor3 = Color3.new()
  185.     }
  186. )
  187. n =
  188.     e(
  189.     "Frame",
  190.     h,
  191.     {
  192.         Name = "availabels",
  193.         BackgroundTransparency = 1,
  194.         Size = UDim2.new(1, 0, 0.23, 0),
  195.         Position = UDim2.new(0, 0, -0.12, 0),
  196.         BackgroundColor3 = Color3.new(1, 1, 1)
  197.     }
  198. )
  199. o =
  200.     e(
  201.     "TextLabel",
  202.     n,
  203.     {
  204.         Name = "jewelryLbl",
  205.         Size = UDim2.new(0.2, 0, 1, 0),
  206.         Text = "Jewel",
  207.         TextSize = 18,
  208.         Font = "SourceSansLight",
  209.         BackgroundTransparency = 1,
  210.         Position = UDim2.new(0.34, 0, 0, 0),
  211.         TextColor3 = Color3.new(1, 1, 1),
  212.         BackgroundColor3 = Color3.new(1, 1, 1)
  213.     }
  214. )
  215. p =
  216.     e(
  217.     "TextLabel",
  218.     n,
  219.     {
  220.         Name = "trainLbl",
  221.         Size = UDim2.new(0.2, 0, 1, 0),
  222.         Text = "Train",
  223.         TextSize = 18,
  224.         Font = "SourceSansLight",
  225.         BackgroundTransparency = 1,
  226.         Position = UDim2.new(0.5, 0, 0, 0),
  227.         TextColor3 = Color3.new(1, 1, 1),
  228.         BackgroundColor3 = Color3.new(1, 1, 1)
  229.     }
  230. )
  231. q =
  232.     e(
  233.     "TextLabel",
  234.     n,
  235.     {
  236.         Name = "bankLbl",
  237.         Size = UDim2.new(0.2, 0, 1, 0),
  238.         Text = "Bank",
  239.         TextSize = 18,
  240.         Font = "SourceSansLight",
  241.         BackgroundTransparency = 1,
  242.         Position = UDim2.new(0.65, 0, 0, 0),
  243.         TextColor3 = Color3.new(1, 1, 1),
  244.         BackgroundColor3 = Color3.new(1, 1, 1)
  245.     }
  246. )
  247. r =
  248.     e(
  249.     "TextLabel",
  250.     n,
  251.     {
  252.         Name = "airdropLbl",
  253.         Size = UDim2.new(0.2, 0, 1, 0),
  254.         Text = "Airdrop",
  255.         TextSize = 18,
  256.         Font = "SourceSansLight",
  257.         BackgroundTransparency = 1,
  258.         Position = UDim2.new(0.82, 0, 0, 0),
  259.         TextColor3 = Color3.new(1, 1, 1),
  260.         BackgroundColor3 = Color3.new(1, 1, 1)
  261.     }
  262. )
  263. s =
  264.     e(
  265.     "TextLabel",
  266.     n,
  267.     {
  268.         Name = "museumLbl",
  269.         Size = UDim2.new(0.2, 0, 1, 0),
  270.         Text = "Museum",
  271.         TextSize = 18,
  272.         Font = "SourceSansLight",
  273.         BackgroundTransparency = 1,
  274.         TextColor3 = Color3.new(1, 1, 1),
  275.         BackgroundColor3 = Color3.new(1, 1, 1),
  276.         Position = UDim2.new(0.15, 0, 0, 0)
  277.     }
  278. )
  279. t =
  280.     e(
  281.     "TextLabel",
  282.     n,
  283.     {
  284.         Name = "planeLbl",
  285.         Size = UDim2.new(0.2, 0, 1, 0),
  286.         Text = "Plane",
  287.         TextSize = 18,
  288.         Font = "SourceSansLight",
  289.         BackgroundTransparency = 1,
  290.         TextColor3 = Color3.new(1, 1, 1),
  291.         BackgroundColor3 = Color3.new(1, 1, 1),
  292.         Position = UDim2.new(-0.04, 0, 0, 0)
  293.     }
  294. )
  295. u =
  296.     e(
  297.     "TextButton",
  298.     g,
  299.     {
  300.         Name = "CloseBtn",
  301.         TextWrapped = true,
  302.         TextStrokeTransparency = 0.7,
  303.         Size = UDim2.new(0, 25, 0, 25),
  304.         TextColor3 = V,
  305.         Text = "X",
  306.         BackgroundTransparency = 1,
  307.         Font = "GothamBold",
  308.         Position = UDim2.new(1, -22, 0, 0),
  309.         TextScaled = true
  310.     }
  311. )
  312. v =
  313.     e(
  314.     "ImageButton",
  315.     g,
  316.     {
  317.         Name = "CogBtn",
  318.         Image = "rbxassetid://135740223",
  319.         Size = UDim2.new(0, 25, 0, 25),
  320.         Position = UDim2.new(0, 0, 0, 2),
  321.         BackgroundTransparency = 1
  322.     }
  323. )
  324. w =
  325.     e(
  326.     "Frame",
  327.     g,
  328.     {
  329.         Name = "setsframe",
  330.         BackgroundTransparency = 0.02,
  331.         Size = UDim2.new(1, -10, 0.8, -10),
  332.         Position = UDim2.new(-1, 5, 0.2, 5),
  333.         BorderSizePixel = 0,
  334.         BackgroundColor3 = Color3.new(1, 1, 1)
  335.     }
  336. )
  337. x = e("Frame", w, {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0.25, 0)})
  338. y =
  339.     e(
  340.     "TextBox",
  341.     x,
  342.     {
  343.         Name = "BankRadiusBox",
  344.         TextWrapped = true,
  345.         Size = UDim2.new(0, 40, 0, 15),
  346.         Text = W.bankRadius2,
  347.         Font = "GothamSemibold",
  348.         Position = UDim2.new(0.78, 0, 0.2, 0),
  349.         TextScaled = true,
  350.         BackgroundColor3 = Color3.new(1, 1, 1)
  351.     }
  352. )
  353. z =
  354.     e(
  355.     "TextLabel",
  356.     x,
  357.     {
  358.         TextWrapped = true,
  359.         Size = UDim2.new(0.8, 0, 1, 0),
  360.         Text = "Bank Cops Danger Range",
  361.         TextSize = 15,
  362.         Font = "Code",
  363.         BackgroundTransparency = 1
  364.     }
  365. )
  366. A =
  367.     e(
  368.     "Frame",
  369.     w,
  370.     {
  371.         BackgroundTransparency = 0.93,
  372.         Size = UDim2.new(1, 0, 0.25, 0),
  373.         Position = UDim2.new(0, 0, 0.25, 0),
  374.         BackgroundColor3 = Color3.new()
  375.     }
  376. )
  377. B =
  378.     e(
  379.     "TextButton",
  380.     A,
  381.     {
  382.         Name = "JewlSetBtn",
  383.         Size = UDim2.new(0, 25, 0, 15),
  384.         Text = W.respawnForPlane and "X" or "",
  385.         Font = "SourceSansSemibold",
  386.         Position = UDim2.new(0.8, 0, 0.2, 0),
  387.         TextSize = 20,
  388.         BackgroundColor3 = Color3.new(1, 1, 1)
  389.     }
  390. )
  391. C =
  392.     e(
  393.     "TextLabel",
  394.     A,
  395.     {
  396.         TextWrapped = true,
  397.         Size = UDim2.new(0.8, 0, 1, 0),
  398.         Text = "Respawn To Speed Up Plane",
  399.         TextSize = 15,
  400.         Font = "Code",
  401.         BackgroundTransparency = 1
  402.     }
  403. )
  404. D = e("Frame", w, {BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0.25, 0), Position = UDim2.new(0, 0, 0.5, 0)})
  405. E =
  406.     e(
  407.     "TextButton",
  408.     D,
  409.     {
  410.         Name = "WarnSetBtn",
  411.         Size = UDim2.new(0, 25, 0, 15),
  412.         Text = W.warnSeconds > 1.51 and "X" or "",
  413.         Font = "SourceSansSemibold",
  414.         Position = UDim2.new(0.8, 0, 0.2, 0),
  415.         TextSize = 20,
  416.         BackgroundColor3 = Color3.new(1, 1, 1)
  417.     }
  418. )
  419. F =
  420.     e(
  421.     "TextLabel",
  422.     D,
  423.     {
  424.         TextWrapped = true,
  425.         Size = UDim2.new(0.8, 0, 1, 0),
  426.         Text = "Prefer Longer Warnings",
  427.         TextSize = 15,
  428.         Font = "Code",
  429.         BackgroundTransparency = 1
  430.     }
  431. )
  432. G =
  433.     e(
  434.     "Frame",
  435.     w,
  436.     {
  437.         BackgroundTransparency = 0.93,
  438.         Size = UDim2.new(1, 0, 0.25, 0),
  439.         Position = UDim2.new(0, 0, 0.75, 0),
  440.         BackgroundColor3 = Color3.new()
  441.     }
  442. )
  443. H =
  444.     e(
  445.     "TextButton",
  446.     G,
  447.     {
  448.         Name = "EscSetBtn",
  449.         Size = UDim2.new(0, 25, 0, 15),
  450.         Text = W.preferUnsafeEsc and "X" or "",
  451.         Font = "SourceSansSemibold",
  452.         Position = UDim2.new(0.8, 0, 0.2, 0),
  453.         TextSize = 20,
  454.         BackgroundColor3 = Color3.new(1, 1, 1)
  455.     }
  456. )
  457. I =
  458.     e(
  459.     "TextLabel",
  460.     G,
  461.     {
  462.         TextWrapped = true,
  463.         Size = UDim2.new(0.8, 0, 1, 0),
  464.         Text = "Remember Your Position",
  465.         TextSize = 15,
  466.         Font = "Code",
  467.         BackgroundTransparency = 1
  468.     }
  469. )
  470. J =
  471.     e(
  472.     "TextLabel",
  473.     g,
  474.     {
  475.         Name = "Title",
  476.         TextWrapped = true,
  477.         Size = UDim2.new(0.5, 0, 0, 20),
  478.         Text = "Heil Rob",
  479.         TextSize = 18,
  480.         Font = "Highway",
  481.         BackgroundTransparency = 1,
  482.         Position = UDim2.new(0.24, 0, 0, 3),
  483.         TextColor3 = V,
  484.         BackgroundColor3 = Color3.new(1, 1, 1)
  485.     }
  486. )
  487. K =
  488.     e(
  489.     "TextButton",
  490.     g,
  491.     {
  492.         Name = "SaveSetsBtn",
  493.         Size = UDim2.new(0, 60, 0, 25),
  494.         Text = "Save",
  495.         Font = "SourceSans",
  496.         Style = "RobloxRoundDefaultButton",
  497.         Position = UDim2.new(0, 30, 0, -25),
  498.         TextSize = 20
  499.     }
  500. )
  501. u.MouseButton1Click:Connect(
  502.     function()
  503.         f:Destroy()
  504.         S = true
  505.         if O then
  506.             O:Disconnect()
  507.         end
  508.     end
  509. )
  510. u.MouseEnter:Connect(
  511.     function()
  512.         u.TextColor3 = U
  513.     end
  514. )
  515. u.MouseLeave:Connect(
  516.     function()
  517.         u.TextColor3 = V
  518.     end
  519. )
  520. local function fb(ic)
  521.     i.AutoButtonColor = ic
  522.     i.BackgroundColor3 = ic and Color3.new(0.353, 0.557, 0.914) or Color3.new(0.502, 0.498, 0.506)
  523.     j.Visible = ic
  524.     S = false
  525. end
  526. i.MouseButton1Click:Connect(
  527.     function()
  528.         if i.AutoButtonColor then
  529.             if O then
  530.                 O:Disconnect()
  531.             end
  532.             fb(false)
  533.             S = true
  534.             i.Text = "Aborted."
  535.             wait(2.8)
  536.             i.Text = "ABORT"
  537.         end
  538.     end
  539. )
  540. local function gb(ic)
  541.     k.Text = "Status: " .. ic
  542. end
  543. local hb = game:GetService("TweenService"):Create(v, TweenInfo.new(0.25), {Rotation = 135})
  544. local ib = game:GetService("TweenService"):Create(v, TweenInfo.new(0.25), {Rotation = 0})
  545. local jb = false
  546. v.MouseButton1Click:Connect(
  547.     function()
  548.         jb = not jb
  549.         if jb then
  550.             w:TweenPosition(UDim2.new(0, 5, 0.2, 5), nil, "Quart", 0.3, true)
  551.             h:TweenPosition(UDim2.new(1, 15, 0, 40), nil, "Quart", 0.3, true)
  552.             if writefile then
  553.                 K:TweenPosition(UDim2.new(0, 30, 0, 2), nil, "Quart", 0.3, true)
  554.             end
  555.             hb:Play()
  556.         else
  557.             w:TweenPosition(UDim2.new(-1, 5, 0.2, 5), nil, "Quart", 0.3, true)
  558.             h:TweenPosition(UDim2.new(0, 15, 0, 40), nil, "Quart", 0.3, true)
  559.             K:TweenPosition(UDim2.new(0, 30, 0, -25), nil, "Quart", 0.3, true)
  560.             ib:Play()
  561.         end
  562.     end
  563. )
  564. local kb = y.Text
  565. y:GetPropertyChangedSignal("Text"):Connect(
  566.     function()
  567.         y.Text = y.Text:sub(1, 4)
  568.         local ic = tonumber(y.Text)
  569.         if ic then
  570.             if ic > 99 then
  571.                 y.Text = "99"
  572.             end
  573.         elseif y.Text ~= "" then
  574.             y.Text = kb
  575.         end
  576.         kb = y.Text
  577.     end
  578. )
  579. y.FocusLost:Connect(
  580.     function()
  581.         if tonumber(y.Text) then
  582.             W.bankRadius2 = tonumber(y.Text)
  583.         end
  584.         y.Text = tostring(W.bankRadius2)
  585.     end
  586. )
  587. B.MouseButton1Click:Connect(
  588.     function()
  589.         W.respawnForPlane = not W.respawnForPlane
  590.         B.Text = W.respawnForPlane and "X" or ""
  591.     end
  592. )
  593. E.MouseButton1Click:Connect(
  594.     function()
  595.         W.warnSeconds = W.warnSeconds > 1.51 and 1.5 or 3
  596.         E.Text = W.warnSeconds > 1.51 and "X" or ""
  597.     end
  598. )
  599. H.MouseButton1Click:Connect(
  600.     function()
  601.         W.preferUnsafeEsc = not W.preferUnsafeEsc
  602.         H.Text = W.preferUnsafeEsc and "X" or ""
  603.     end
  604. )
  605. K.MouseButton1Click:Connect(
  606.     function()
  607.         if writefile and K.Style.Name == "RobloxRoundDefaultButton" then
  608.             K.Style = "RobloxRoundButton"
  609.             writefile("JBAR.txt", game:GetService("HttpService"):JSONEncode(W))
  610.             K.Text = "Saved."
  611.             wait(1)
  612.             K.Text = "Save"
  613.             K.Style = "RobloxRoundDefaultButton"
  614.         end
  615.     end
  616. )
  617. l.MouseButton1Click:Connect(
  618.     function()
  619.         W.enabled = not W.enabled
  620.         l.BackgroundColor3 = W.enabled and T or U
  621.     end
  622. )
  623. M:WaitForChild("PlayerScripts"):WaitForChild("LocalScript")
  624. wait(0.5)
  625. wait(5 - workspace.DistributedGameTime)
  626. local lb, mb, nb, ob, pb
  627. if a then
  628.     local ic = (getreg or debug.getregistry)()
  629.     for jc = 1, #ic do
  630.         local kc = ic[jc]
  631.         if
  632.             type(kc) == "function" and (is_protected_closure == nil or is_protected_closure(kc) == false) and
  633.                 (d == nil or d(kc))
  634.          then
  635.             local lc = a(kc)
  636.             for mc, nc in next, lc do
  637.                 if type(nc) == "table" then
  638.                     if rawget(nc, "Specs") and nc.Frame and #nc == 0 then
  639.                         lb = nc.Specs
  640.                     elseif rawget(nc, "IsFlying") and #nc == 0 then
  641.                         nc.IsFlying = function()
  642.                             return tostring(getfenv(2).script) == "Falling"
  643.                         end
  644.                     elseif mb == nil and #nc == 3 then
  645.                         for oc = 1, 3 do
  646.                             if type(nc[oc]) == "table" and nc[oc].Name == "Punch" then
  647.                                 mb = nc[oc]
  648.                             end
  649.                         end
  650.                     end
  651.                 elseif nb == nil and (nc == "Prisoner" or nc == "Police" or nc == "Neutral") and #lc == 2 then
  652.                     nb = kc
  653.                     ob = mc
  654.                 elseif
  655.                     pb == nil and type(nc) == "function" and
  656.                         (is_protected_closure == nil or is_protected_closure(nc) == false) and
  657.                         (d == nil or d(nc))
  658.                  then
  659.                     for oc, pc in next, a(nc) do
  660.                         if type(pc) == "table" and rawget(pc, "LastVehicleExit") then
  661.                             pb = nc
  662.                         end
  663.                     end
  664.                 end
  665.             end
  666.         end
  667.     end
  668. end
  669. for ic, jc in ipairs(workspace.Buildings:GetChildren()) do
  670.     if (jc.Position - Vector3.new(-308.4, 30, 1447.7)).Magnitude < 1 then
  671.         jc.CanCollide = false
  672.     end
  673. end
  674. local qb = {
  675.     {CFrame.new(1053.6, 101.7, 1245.6), workspace.Museum.MummyCase.Mummy.Head},
  676.     {CFrame.new(1037.1, 116.6, 1254.8), workspace.Museum.Reference.Items.Gold},
  677.     {CFrame.new(1046.8, 116.6, 1262.7), workspace.Museum.Reference.Items.SpinnerRim},
  678.     {CFrame.new(1029.4, 116.6, 1247.7), workspace.Museum.Reference.Items.Cone.Cone},
  679.     {CFrame.new(1038.8, 101.7, 1238.7), workspace.Museum.EgyptionCase.Mask},
  680.     {CFrame.new(1105.3, 101.7, 1151), workspace.Museum.JewelCase.Jewel}
  681. }
  682. local rb = workspace.Trains:FindFirstChild("SteamEngine") ~= nil
  683. local sb = false
  684. local tb
  685. local ub = tb or {}
  686. workspace.Trains.ChildAdded:Connect(
  687.     function(ic)
  688.         wait(math.random())
  689.         if ic.Name == "SteamEngine" then
  690.             rb = true
  691.         elseif ic.Name == "BoxCar" and tb == nil and ub.Parent == nil and false then
  692.             ub = ic
  693.             wait(24 + math.random() * 53)
  694.             if ic.Parent and tb == nil then
  695.                 tb = ic
  696.             end
  697.         end
  698.         p.TextColor3 = (tb or rb) and T or Color3.new(1, 1, 1)
  699.     end
  700. )
  701. workspace.Trains.ChildRemoved:Connect(
  702.     function(ic)
  703.         if tb == ic then
  704.             tb = nil
  705.         elseif ic.Name == "SteamEngine" then
  706.             rb = false
  707.         end
  708.         p.TextColor3 = (tb or rb) and T or Color3.new(1, 1, 1)
  709.     end
  710. )
  711. p.TextColor3 = (tb or rb) and T or Color3.new(1, 1, 1)
  712. local vb = {}
  713. local wb = 0
  714. local function xb()
  715.     local ic = workspace.Plane.Crates:GetChildren()
  716.     for jc = 1, #ic do
  717.         local kc = ic[jc]:FindFirstChild("1")
  718.         if kc and kc.Transparency < .99 and kc.Position.Y > 50 then
  719.             return kc
  720.         end
  721.     end
  722. end
  723. local function yb(ic)
  724.     if ic.ClassName == "Model" then
  725.         if ic.Name == "Drop" then
  726.             local jc = ic:WaitForChild("Briefcase", 2)
  727.             while jc and jc.Parent and ic:FindFirstChild("Parachute") do
  728.                 ic.ChildRemoved:Wait()
  729.                 wait()
  730.             end
  731.             if jc and jc.Parent then
  732.                 vb[#vb + 1] = jc
  733.                 r.TextColor3 = T
  734.             end
  735.         elseif ic.Name == "Plane" and ic:WaitForChild("Crates", 2) then
  736.             wb = tick() + 120
  737.             while ic.Parent and xb() == nil do
  738.                 wait(0.3)
  739.             end
  740.             if ic.Parent then
  741.                 sb = true
  742.                 t.TextColor3 = T
  743.             end
  744.         end
  745.     end
  746. end
  747. for ic, jc in ipairs(workspace:GetChildren()) do
  748.     if jc.ClassName == "Model" then
  749.         coroutine.wrap(yb)(jc)
  750.     end
  751. end
  752. workspace.ChildAdded:Connect(yb)
  753. workspace.ChildRemoved:Connect(
  754.     function(ic)
  755.         if ic.ClassName == "Model" then
  756.             if ic.Name == "Drop" then
  757.                 wait()
  758.                 for jc = #vb, 1, -1 do
  759.                     if not vb[jc].Parent then
  760.                         table.remove(vb, jc)
  761.                     end
  762.                 end
  763.                 r.TextColor3 = #vb > 0 and T or Color3.new(1, 1, 1)
  764.             elseif ic.Name == "Plane" then
  765.                 sb = false
  766.                 t.TextColor3 = Color3.new(1, 1, 1)
  767.                 wb = tick()
  768.             end
  769.         end
  770.     end
  771. )
  772. local zb = workspace.Banks:GetChildren()[1].Extra.Sign.Decal
  773. local Ab = workspace.Jewelrys:GetChildren()[1].Extra.Sign.Decal
  774. local Bb = workspace.Museum.Roof.Hole.Part
  775. local Cb = zb.Transparency > 0.01
  776. local Db = Ab.Transparency > 0.01
  777. local Eb = not Bb.CanCollide
  778. local Fb = #workspace.Ringers.Bank:GetChildren() == 0
  779. local Gb = #workspace.Ringers.Jewelry:GetChildren() == 0
  780. zb:GetPropertyChangedSignal("Transparency"):Connect(
  781.     function()
  782.         wait()
  783.         Cb = zb.Transparency > 0.01
  784.         q.TextColor3 = Cb and T or Color3.new(1, 1, 1)
  785.         if not Cb then
  786.             Fb = true
  787.         end
  788.     end
  789. )
  790. Ab:GetPropertyChangedSignal("Transparency"):Connect(
  791.     function()
  792.         wait()
  793.         Db = Ab.Transparency > 0.01
  794.         o.TextColor3 = Db and T or Color3.new(1, 1, 1)
  795.         if not Db then
  796.             Gb = true
  797.         end
  798.     end
  799. )
  800. Bb:GetPropertyChangedSignal("CanCollide"):Connect(
  801.     function()
  802.         wait()
  803.         Eb = not Bb.CanCollide
  804.         s.TextColor3 = Eb and T or Color3.new(1, 1, 1)
  805.     end
  806. )
  807. q.TextColor3 = Cb and T or Color3.new(1, 1, 1)
  808. o.TextColor3 = Db and T or Color3.new(1, 1, 1)
  809. s.TextColor3 = Eb and T or Color3.new(1, 1, 1)
  810. workspace.Ringers.Bank.ChildAdded:Connect(
  811.     function()
  812.         Fb = false
  813.     end
  814. )
  815. workspace.Ringers.Jewelry.ChildAdded:Connect(
  816.     function()
  817.         Gb = false
  818.     end
  819. )
  820. local function Hb(ic, jc)
  821.     local kc = tick()
  822.     local lc = 0.1
  823.     ic = (ic == nil or ic <= 0) and 0.001 or ic
  824.     lc = (lc > ic) and ic or lc
  825.     while tick() - kc < ic and S == false and (jc == nil or jc(tick() - kc)) do
  826.         wait(lc)
  827.     end
  828.     return tick() - kc
  829. end
  830. local function Ib(ic)
  831.     N:SendKeyEvent(true, ic, false, game)
  832.     wait()
  833.     N:SendKeyEvent(false, ic, false, game)
  834. end
  835. local function Jb(ic)
  836.     if P.Sit then
  837.         P.Jump = true
  838.         if pb then
  839.             pb(true)
  840.         else
  841.             Ib("Space")
  842.         end
  843.         if ic or P:GetStateEnabled("Running") then
  844.             wait()
  845.         else
  846.             wait(3)
  847.         end
  848.     end
  849. end
  850. local function Kb(ic)
  851.     return tonumber((tostring(ic):gsub("%D", "")))
  852. end
  853. local function Lb()
  854.     return M.PlayerGui.MainGui.CollectMoney.Visible and
  855.         Kb(M.PlayerGui.MainGui.CollectMoney.Money.Text) + 2 > Kb(M.PlayerGui.MainGui.CollectMoney.Maximum.Text)
  856. end
  857. local function Mb()
  858.     local ic, jc = M.PlayerGui.MainGui.MuseumBag.TextLabel.Text:match("(.-)/(.+)")
  859.     return M.PlayerGui.MainGui.MuseumBag.Visible and ic and jc and Kb(ic) >= Kb(jc)
  860. end
  861. local Nb
  862. local function Ob()
  863.     return (Nb.Door.Closed.CFrame.lookVector - Nb.Door.Hinge.CFrame.lookVector).Magnitude > 0.1
  864. end
  865. local function Pb(ic)
  866.     local jc = game:GetService("Teams").Police:GetPlayers()
  867.     for kc = 1, #jc do
  868.         local lc = jc[kc]
  869.         if lc.Character and lc.Character:FindFirstChild("HumanoidRootPart") and lc.Character:FindFirstChild("Humanoid") then
  870.             local mc = lc.Character.HumanoidRootPart.Position
  871.             if
  872.                 (Nb.Door.Hinge.Position - mc).Magnitude < ic and lc.Character.Humanoid.Health > 0 and
  873.                     workspace:FindPartOnRayWithWhitelist(
  874.                         Ray.new(mc, Nb.TriggerDoor.Position - Nb.Door.Hinge.CFrame.lookVector * 3 - mc),
  875.                         {Nb.Decoration, Nb.Parent.Parent.TopFloor}
  876.                     ) == nil
  877.              then
  878.                 return true
  879.             end
  880.         end
  881.     end
  882.     return false
  883. end
  884. local function Qb(ic)
  885.     if S then
  886.         return
  887.     end
  888.     local jc = workspace.CurrentCamera
  889.     jc.CameraType = "Scriptable"
  890.     jc.CFrame = CFrame.new(jc.CFrame.p, ic.Position)
  891.     wait()
  892.     jc.CameraType = "Custom"
  893.     wait()
  894.     N:SendKeyEvent(true, "E", false, game)
  895. end
  896. local function Rb(ic)
  897.     if lb then
  898.         for jc = 1, #lb do
  899.             if lb[jc].Part == ic then
  900.                 lb[jc]:Callback(true)
  901.                 break
  902.             end
  903.         end
  904.         Hb(1)
  905.     else
  906.         local jc = ic.Weld
  907.         local kc, lc = jc.C0, jc.Part1
  908.         jc.C0, jc.Part1 = CFrame.new(0, 0, 9), Q
  909.         if M.PlayerGui.MainGui.CircleAction.Visible then
  910.             Q.CFrame = Q.CFrame + Q.CFrame.lookVector * 20
  911.         end
  912.         local mc = Ray.new(Q.Position, Q.CFrame.lookVector * 11)
  913.         local nc = {Q.Parent}
  914.         local oc = {}
  915.         while true do
  916.             local pc = workspace:FindPartOnRayWithIgnoreList(mc, nc)
  917.             if pc then
  918.                 nc[#nc + 1] = pc
  919.                 oc[pc] = pc.CanCollide
  920.                 pc.CanCollide = false
  921.             else
  922.                 break
  923.             end
  924.         end
  925.         wait()
  926.         Qb(ic)
  927.         Hb(0.1)
  928.         for pc, qc in next, oc do
  929.             pc.CanCollide = qc
  930.         end
  931.         jc.C0, jc.Part1 = kc, lc
  932.         N:SendKeyEvent(false, "E", false, game)
  933.         Hb(0.9)
  934.     end
  935.     return P.Sit
  936. end
  937. local Sb = {}
  938. local function Tb(ic)
  939.     if S then
  940.         return
  941.     end
  942.     if Sb.Parent == nil or Sb.Player.Value or Sb.Position.Y < -10 or Rb(Sb) == false then
  943.         for jc, kc in ipairs(workspace.Vehicles:GetChildren()) do
  944.             if
  945.                 kc.Name == "Camaro" and kc:FindFirstChild("Engine") and kc:FindFirstChild("Seat") and
  946.                     kc.Seat:FindFirstChild("Weld") and
  947.                     kc.Seat:FindFirstChild("Player") and
  948.                     kc.Seat.Player.Value == false and
  949.                     kc.Seat ~= Sb and
  950.                     not S
  951.              then
  952.                 if Rb(kc.Seat) then
  953.                     Sb = kc.Seat
  954.                     if kc:FindFirstChild("BodyVelocity") == nil then
  955.                         e("BodyVelocity", kc.Engine, {Velocity = R, MaxForce = Vector3.new(1e6, 1e6, 1e6), P = 1000})
  956.                     end
  957.                     break
  958.                 end
  959.             end
  960.         end
  961.     end
  962.     Sb.Parent:SetPrimaryPartCFrame(CFrame.new(ic.X + 7, math.random(200, 300), ic.Z))
  963.     Hb(1)
  964.     if S then
  965.         return
  966.     end
  967.     Jb(true)
  968.     delay(
  969.         3,
  970.         function()
  971.             Q.CFrame = Q.CFrame + Vector3.new(0, 0.001, 0)
  972.         end
  973.     )
  974.     Q:GetPropertyChangedSignal("CFrame"):Wait()
  975.     Q.CFrame = ic
  976.     Q.Velocity, Q.RotVelocity = R, R
  977.     Hb(0.1)
  978.     Q.CFrame = ic
  979.     Q.Velocity, Q.RotVelocity = R, R
  980. end
  981. local function Ub(ic)
  982.     P:SetStateEnabled("FallingDown", false)
  983.     local jc = (ic - ic.p) + Q.Position + Vector3.new(0, 4, 0)
  984.     local kc = ic.p - Q.Position
  985.     local lc = workspace.Gravity
  986.     workspace.Gravity = 0
  987.     for mc = 0, kc.Magnitude, 1.8 do
  988.         if S then
  989.             break
  990.         end
  991.         Q.CFrame = jc + kc.Unit * mc
  992.         Q.Velocity, Q.RotVelocity = R, R
  993.         wait()
  994.     end
  995.     if not S then
  996.         Q.CFrame = ic
  997.     end
  998.     workspace.Gravity = lc
  999. end
  1000. local Vb = CFrame.new()
  1001. local function Wb(ic)
  1002.     fb(true)
  1003.     gb(ic .. " ready.")
  1004.     local jc = g.BackgroundColor3
  1005.     local kc = 0
  1006.     while kc < W.warnSeconds do
  1007.         for lc = 0, 1, 1 / (30 * .25) do
  1008.             g.BackgroundColor3 = jc:lerp(U, lc)
  1009.             kc = kc + wait()
  1010.         end
  1011.         for lc = 0, 1, 1 / (30 * .25) do
  1012.             g.BackgroundColor3 = U:lerp(jc, lc)
  1013.             kc = kc + wait()
  1014.         end
  1015.     end
  1016.     g.BackgroundColor3 = jc
  1017.     if P == nil or P.Health < 1 then
  1018.         wait(5)
  1019.     end
  1020.     if S or not W.enabled then
  1021.         return false
  1022.     end
  1023.     Jb()
  1024.     if M.Team.Name == "Prisoner" then
  1025.         gb("Breaking out...")
  1026.         if workspace.Vehicles:FindFirstChild("Camaro") == nil or workspace.Vehicles:FindFirstChild("Heli") == nil then
  1027.             Ub(CFrame.new(-1022, 60, -1533))
  1028.         end
  1029.         Hb(
  1030.             25,
  1031.             function()
  1032.                 return M.PlayerGui.MainGui.CellTime.Visible
  1033.             end
  1034.         )
  1035.         Tb(CFrame.new(-295 - math.random() * 24, 18, 1440))
  1036.         Hb(3)
  1037.     end
  1038.     Vb = Q.CFrame
  1039.     return W.enabled and not S
  1040. end
  1041. local function Xb()
  1042.     S = false
  1043.     gb("Escaping...")
  1044.     if W.preferUnsafeEsc then
  1045.         Tb(Vb)
  1046.     else
  1047.         Tb(CFrame.new(-295 - math.random() * 24, 18, 1440))
  1048.     end
  1049. end
  1050. local function Yb()
  1051.     local ic = Wb("Jewelry")
  1052.     if ic then
  1053.         gb("TPing to jewelry...")
  1054.         Tb(CFrame.new(89.7, 17.88, 1302.53) * CFrame.Angles(0, math.pi / -2, 0))
  1055.         Ub(CFrame.new(89.7, 9, 1302.53) * CFrame.Angles(0, math.pi / -2, 0))
  1056.         ic = not S
  1057.         gb("Robbery started!")
  1058.         local jc = 0
  1059.         local kc = workspace.Jewelrys:GetChildren()[1].Boxes:GetChildren()
  1060.         table.sort(
  1061.             kc,
  1062.             function(lc, mc)
  1063.                 return lc.Position.X + lc.Position.Y * -900 > mc.Position.X + mc.Position.Y * -900
  1064.             end
  1065.         )
  1066.         for lc = 1, #kc do
  1067.             if S or Db == false or (jc > 3 and Lb()) then
  1068.                 break
  1069.             end
  1070.             local mc = kc[lc]
  1071.             if mc.Transparency < 0.9 then
  1072.                 Ub(CFrame.new(mc.Position + mc.CFrame.lookVector * (mc.Position.X < 130 and 3 or -3), mc.Position))
  1073.                 Hb(0.1)
  1074.                 for nc = 1, 4 do
  1075.                     if mb then
  1076.                         mb:Callback(true)
  1077.                     else
  1078.                         Ib("F")
  1079.                     end
  1080.                     Hb(0.5)
  1081.                     if mc.Transparency > 0.9 then
  1082.                         break
  1083.                     end
  1084.                 end
  1085.                 jc = jc + 1
  1086.                 Hb(0.5)
  1087.             end
  1088.         end
  1089.         gb("Selling...")
  1090.         if not S then
  1091.             Q.CFrame = Q.CFrame + Vector3.new(0, 150 - Q.CFrame.Y, 0)
  1092.             wait(0.1)
  1093.         end
  1094.         Ub(CFrame.new(-142, 90, 1460) * CFrame.Angles(0, math.pi, 0))
  1095.         Ub(CFrame.new(-210.4, 35.3, 1587.9) * CFrame.Angles(0, math.pi, 0))
  1096.         Hb(
  1097.             3,
  1098.             function()
  1099.                 return M.PlayerGui.MainGui.CollectMoney.Visible
  1100.             end
  1101.         )
  1102.         Xb()
  1103.         if ic then
  1104.             Db = false
  1105.             o.TextColor3 = Color3.new(1, 1, 1)
  1106.             gb("Jewelry success!")
  1107.         end
  1108.     end
  1109.     fb(false)
  1110.     wait(2)
  1111.     if ic then
  1112.         gb("10 second cooldown.")
  1113.         wait(10)
  1114.     end
  1115. end
  1116. local function Zb()
  1117.     local ic = Wb("Bank")
  1118.     if ic then
  1119.         gb("TPing to bank...")
  1120.         Tb(CFrame.new(23.6, 20, 853.5))
  1121.         Hb(1)
  1122.         ic = not S
  1123.         gb("Opening vault...")
  1124.         Nb = workspace.Banks:GetChildren()[1].Layout:GetChildren()[1]
  1125.         local jc = Nb.TriggerDoor.CFrame
  1126.         Nb.TriggerDoor.CFrame = Q.CFrame
  1127.         wait()
  1128.         Nb.TriggerDoor.CFrame = jc
  1129.         local kc = Nb.Door.Hinge.CFrame
  1130.         local lc
  1131.         if Nb.Money.Size.Magnitude > 25 and (Nb.Money.Position - kc.Position).Magnitude < 30 then
  1132.             if Nb.Name == "TheMint" then
  1133.                 lc = kc + kc.lookVector * 3 + kc.rightVector * 13.5
  1134.             else
  1135.                 lc = kc + kc.lookVector * 3 + kc.rightVector * -5.5 + Vector3.new(0, 3, 0)
  1136.             end
  1137.         else
  1138.             if Nb:FindFirstChild("Lasers") then
  1139.                 for mc, nc in ipairs(Nb.Lasers:GetChildren()) do
  1140.                     if nc.Name == "LaserTrack" then
  1141.                         nc:Destroy()
  1142.                     end
  1143.                 end
  1144.             end
  1145.             lc = Nb.Money.CFrame
  1146.         end
  1147.         cb()
  1148.         Ub(CFrame.new(lc.X, Q.CFrame.Y, lc.Z))
  1149.         db()
  1150.         Q.CFrame = lc
  1151.         Hb(
  1152.             300,
  1153.             function()
  1154.                 return Cb and Ob() == false
  1155.             end
  1156.         )
  1157.         Hb(
  1158.             3,
  1159.             function()
  1160.                 return Cb and (not (Ob() and Pb(W.bankRadius2)))
  1161.             end
  1162.         )
  1163.         gb("Robbery started!")
  1164.         Hb(
  1165.             80,
  1166.             function()
  1167.                 return Lb() == false and Cb and (not (Ob() and Pb(W.bankRadius2)))
  1168.             end
  1169.         )
  1170.         Q.CFrame = CFrame.new(Q.CFrame.X, 20, Q.CFrame.Z)
  1171.         wait(0.5)
  1172.         Xb()
  1173.         if ic then
  1174.             Cb = false
  1175.             q.TextColor3 = Color3.new(1, 1, 1)
  1176.             gb("Bank success!")
  1177.         end
  1178.     end
  1179.     fb(false)
  1180.     wait(2)
  1181.     if ic then
  1182.         gb("10 second cooldown.")
  1183.         wait(10)
  1184.     end
  1185. end
  1186. local function ac()
  1187.     local ic = Wb("Train")
  1188.     if ic then
  1189.         local jc = tb.Model.Rob.Gold
  1190.         local kc = workspace.Trains.LocomotiveFront.Model.Front
  1191.         gb("TPing to train...")
  1192.         Tb(jc.CFrame + jc.Velocity * 2)
  1193.         ic = not S
  1194.         if tb.Parent then
  1195.             if lb and false then
  1196.                 O =
  1197.                     Y:Connect(
  1198.                     function()
  1199.                         Q.CFrame = tb.Skeleton.RoofDoorClosed.CFrame + Vector3.new(0, -5, 0)
  1200.                         Q.Velocity, Q.RotVelocity = R, R
  1201.                     end
  1202.                 )
  1203.                 gb("Bypassing by waiting...")
  1204.                 Hb(5)
  1205.                 O:Disconnect()
  1206.                 local lc, mc
  1207.                 for nc = 1, #lb do
  1208.                     local oc = lb[nc]
  1209.                     if
  1210.                         lc == nil and oc.Name == "Open Door" and tostring(oc.Part) == "RoofDoorClosed" and
  1211.                             tb:IsAncestorOf(oc.Part)
  1212.                      then
  1213.                         lc = oc
  1214.                     elseif mc == nil and oc.Name == "Breach Vault" and tb:IsAncestorOf(oc.Part) then
  1215.                         mc = oc
  1216.                     end
  1217.                 end
  1218.                 if lc then
  1219.                     lc:Callback(true)
  1220.                 end
  1221.                 wait()
  1222.                 if mc then
  1223.                     mc:Callback(true)
  1224.                 end
  1225.             else
  1226.                 gb("Opening door...")
  1227.                 O =
  1228.                     Y:Connect(
  1229.                     function()
  1230.                         Q.CFrame = tb.Skeleton.RoofDoorClosed.CFrame + Vector3.new(0, -5, 0)
  1231.                         Q.Velocity, Q.RotVelocity = R, R
  1232.                     end
  1233.                 )
  1234.                 Hb(0.45)
  1235.                 Qb(tb.Skeleton.RoofDoorClosed)
  1236.                 Hb(
  1237.                     7,
  1238.                     function()
  1239.                         return (tb.Skeleton.RoofDoor.Position - tb.Skeleton.RoofDoorClosed.Position).Magnitude < 1
  1240.                     end
  1241.                 )
  1242.                 O:Disconnect()
  1243.                 Hb()
  1244.                 N:SendKeyEvent(false, "E", false, game)
  1245.                 gb("Opening vault...")
  1246.                 O =
  1247.                     Y:Connect(
  1248.                     function()
  1249.                         Q.CFrame = jc.CFrame
  1250.                         Q.Velocity, Q.RotVelocity = R, R
  1251.                     end
  1252.                 )
  1253.                 Hb(0.45)
  1254.                 Qb(tb.Skeleton.Vault.Part)
  1255.                 Hb(
  1256.                     7,
  1257.                     function()
  1258.                         return tb.Skeleton.Vault.Part.RotVelocity.Magnitude < .001
  1259.                     end
  1260.                 )
  1261.                 O:Disconnect()
  1262.                 Hb(0.2)
  1263.                 N:SendKeyEvent(false, "E", false, game)
  1264.             end
  1265.             gb("Robbery started!")
  1266.             O =
  1267.                 Y:Connect(
  1268.                 function()
  1269.                     Q.CFrame = jc.CFrame
  1270.                     Q.Velocity, Q.RotVelocity = R, R
  1271.                 end
  1272.             )
  1273.             Hb(
  1274.                 65,
  1275.                 function()
  1276.                     return Lb() == false and kc.Position.X > -1584
  1277.                 end
  1278.             )
  1279.             O:Disconnect()
  1280.         end
  1281.         Xb()
  1282.         if ic then
  1283.             tb = nil
  1284.             p.TextColor3 = Color3.new(1, 1, 1)
  1285.             gb("Train success!")
  1286.         end
  1287.     end
  1288.     fb(false)
  1289.     wait(2)
  1290.     if ic then
  1291.         gb("10 second cooldown.")
  1292.         wait(10)
  1293.     end
  1294. end
  1295. local function bc()
  1296.     local ic = Wb("Museum")
  1297.     if ic then
  1298.         gb("TPing to museum...")
  1299.         Tb(CFrame.new(1064, 107, 1194))
  1300.         Hb(1)
  1301.         if S then
  1302.             ic = false
  1303.         else
  1304.             gb("Robbery started!")
  1305.             local jc = M.PlayerGui.MainGui.MuseumBag.TextLabel
  1306.             jc.Text = "9" .. jc.Text:sub(2)
  1307.             for kc = 1, #qb do
  1308.                 local lc = qb[kc][1]
  1309.                 local mc = qb[kc][2]
  1310.                 if mc.Transparency < .99 then
  1311.                     if S or Eb == false or jc.Text:sub(1, 1) == jc.Text:sub(5, 5) then
  1312.                         break
  1313.                     end
  1314.                     Ub(lc)
  1315.                     if lb then
  1316.                         if kc == 1 then
  1317.                             mc = mc.Parent.Parent.MummyNode
  1318.                         end
  1319.                         for nc = 1, #lb do
  1320.                             if lb[nc].Part == mc then
  1321.                                 lb[nc]:Callback(true)
  1322.                                 break
  1323.                             end
  1324.                         end
  1325.                         Hb(0.5)
  1326.                     else
  1327.                         Qb(mc)
  1328.                         Hb(
  1329.                             7,
  1330.                             function()
  1331.                                 return mc.Transparency < .99
  1332.                             end
  1333.                         )
  1334.                         N:SendKeyEvent(false, "E", false, game)
  1335.                         Hb()
  1336.                     end
  1337.                 end
  1338.             end
  1339.             if W.preferUnsafeEsc then
  1340.                 Tb(Vb)
  1341.             else
  1342.                 Tb(CFrame.new(-295 - math.random() * 24, 18, 1440))
  1343.             end
  1344.             gb("Bypassing by waiting...")
  1345.             Hb(9)
  1346.             Jb()
  1347.             Vb = Q.CFrame
  1348.             gb("Selling...")
  1349.             Tb(CFrame.new(1686, 50.7, -1844))
  1350.             Hb(4)
  1351.             Ub(CFrame.new(1647, 50.7, -1813))
  1352.             Hb(
  1353.                 9,
  1354.                 function()
  1355.                     return M.PlayerGui.MainGui.MuseumBag.Visible
  1356.                 end
  1357.             )
  1358.         end
  1359.         Xb()
  1360.         if ic then
  1361.             Eb = false
  1362.             s.TextColor3 = Color3.new(1, 1, 1)
  1363.             gb("Museum success!")
  1364.         end
  1365.     end
  1366.     fb(false)
  1367.     wait(2)
  1368.     if ic then
  1369.         gb("10 second cooldown.")
  1370.         wait(10)
  1371.     end
  1372. end
  1373. local function cc()
  1374.     local ic = Wb("Steam engine")
  1375.     if ic then
  1376.         gb("Robbery started!")
  1377.         local jc = tick()
  1378.         local kc = workspace.Trains:GetDescendants()
  1379.         for lc = 1, #kc do
  1380.             local mc = kc[lc]
  1381.             if mc.Name == "Briefcase" and mc.Parent and mc:FindFirstChild("Weld") then
  1382.                 if S or Mb() then
  1383.                     break
  1384.                 end
  1385.                 if lb then
  1386.                     for nc = 1, #lb do
  1387.                         if lb[nc].Part == mc then
  1388.                             lb[nc]:Callback(true)
  1389.                             break
  1390.                         end
  1391.                     end
  1392.                     Hb(2.5)
  1393.                 else
  1394.                     mc.Weld.C0 = CFrame.new(0, 0, 5)
  1395.                     mc.Weld.Part1 = Q
  1396.                     Hb()
  1397.                     Qb(mc)
  1398.                     Hb(
  1399.                         3,
  1400.                         function()
  1401.                             return mc.Parent ~= nil
  1402.                         end
  1403.                     )
  1404.                     N:SendKeyEvent(false, "E", false, game)
  1405.                     Hb()
  1406.                     mc:ClearAllChildren()
  1407.                 end
  1408.             end
  1409.         end
  1410.         Hb(1)
  1411.         Tb(CFrame.new(1686, 50.7, -1844))
  1412.         gb("Bypassing by waiting...")
  1413.         Hb(10 - (tick() - jc))
  1414.         Jb()
  1415.         gb("Selling...")
  1416.         Ub(CFrame.new(1647, 50.7, -1813))
  1417.         Hb(
  1418.             9,
  1419.             function()
  1420.                 return M.PlayerGui.MainGui.MuseumBag.Visible
  1421.             end
  1422.         )
  1423.         Xb()
  1424.         if ic then
  1425.             rb = false
  1426.             p.TextColor3 = Color3.new(1, 1, 1)
  1427.             gb("Train success!")
  1428.         end
  1429.     end
  1430.     fb(false)
  1431.     wait(2)
  1432.     if ic then
  1433.         gb("10 second cooldown.")
  1434.         wait(10)
  1435.     end
  1436. end
  1437. local function dc()
  1438.     local ic = Wb("Airdrop")
  1439.     if ic then
  1440.         local jc = vb[1]
  1441.         if jc and jc.Parent then
  1442.             gb("TPing to airdrop...")
  1443.             cb()
  1444.             Tb(jc.CFrame + Vector3.new(0, -3, 0))
  1445.             if M.SimulationRadius < 300 then
  1446.                 M.SimulationRadius = 300
  1447.             end
  1448.             gb("Robbery started!")
  1449.             Hb(0.2)
  1450.             if M.SimulationRadius < 300 then
  1451.                 M.SimulationRadius = 300
  1452.             end
  1453.             if S then
  1454.                 ic = false
  1455.             else
  1456.                 Q.Anchored = true
  1457.                 if not lb then
  1458.                     Qb(jc)
  1459.                     Hb()
  1460.                     N:SendKeyEvent(true, "E", false, game)
  1461.                 end
  1462.                 Hb(
  1463.                     6.5,
  1464.                     function()
  1465.                         return jc.Parent ~= nil
  1466.                     end
  1467.                 )
  1468.                 if lb then
  1469.                     for kc = 1, #lb do
  1470.                         if lb[kc].Part == jc then
  1471.                             lb[kc]:Callback(true)
  1472.                             break
  1473.                         end
  1474.                     end
  1475.                 else
  1476.                     N:SendKeyEvent(false, "E", false, game)
  1477.                 end
  1478.                 Hb(1)
  1479.             end
  1480.             Q.Anchored = false
  1481.             db()
  1482.             Xb()
  1483.         end
  1484.         if ic then
  1485.             gb("Airdrop success!")
  1486.         end
  1487.     end
  1488.     fb(false)
  1489.     wait(2)
  1490.     if ic then
  1491.         gb("10 second cooldown.")
  1492.         wait(10)
  1493.     end
  1494. end
  1495. local function ec()
  1496.     local ic = Wb("Plane")
  1497.     if ic then
  1498.         local jc
  1499.         if workspace:FindFirstChild("Plane") then
  1500.             jc = workspace.Plane:FindFirstChild("Root")
  1501.         end
  1502.         if jc then
  1503.             gb("Waiting for takeoff.")
  1504.             Hb(
  1505.                 20,
  1506.                 function()
  1507.                     return jc.Parent ~= nil and jc.Position.Y < 300
  1508.                 end
  1509.             )
  1510.             gb("TPing to plane...")
  1511.             Tb(workspace.Plane.Root.CFrame)
  1512.             ic = not S
  1513.             if workspace:FindFirstChild("Plane") then
  1514.                 gb("Robbery started!")
  1515.                 local kc = workspace.Plane.Crates:GetChildren()
  1516.                 for lc = 1, #kc do
  1517.                     local mc = kc[lc]:FindFirstChild("1")
  1518.                     if mc and mc.Parent and mc.Transparency < .99 and not S then
  1519.                         local nc = mc.Parent["2"]
  1520.                         local oc
  1521.                         O =
  1522.                             Y:Connect(
  1523.                             function()
  1524.                                 Q.CFrame = nc.CFrame + Vector3.new(0, -9, 0)
  1525.                                 Q.Velocity, Q.RotVelocity = R, R
  1526.                             end
  1527.                         )
  1528.                         if lb then
  1529.                             Hb(0.5)
  1530.                             for pc = 1, #lb do
  1531.                                 local qc = lb[pc]
  1532.                                 if lb[pc].Part == mc then
  1533.                                     lb[pc]:Callback(true)
  1534.                                     break
  1535.                                 end
  1536.                             end
  1537.                         else
  1538.                             mc.Anchored = false
  1539.                             oc = e("Weld", mc, {Part0 = mc, Part1 = Q, C0 = CFrame.new(0, 4.5, 0)})
  1540.                             Hb(0.5)
  1541.                             Qb(mc)
  1542.                             Hb(
  1543.                                 20,
  1544.                                 function()
  1545.                                     return mc.Transparency < .99
  1546.                                 end
  1547.                             )
  1548.                             N:SendKeyEvent(false, "E", false, game)
  1549.                             mc.CanCollide = true
  1550.                         end
  1551.                         Hb(0.5)
  1552.                         O:Disconnect()
  1553.                         if M.PlayerGui.MainGui.CrateCollectMoney.Visible then
  1554.                             gb("Bypassing by waiting...")
  1555.                             Tb(CFrame.new(-451, 77.1, 2043))
  1556.                             if oc then
  1557.                                 oc:Destroy()
  1558.                             end
  1559.                             Hb(8)
  1560.                             Jb()
  1561.                             gb("Selling...")
  1562.                             Ub(CFrame.new(-398, 30, 2026))
  1563.                             Q.Anchored = true
  1564.                             Hb(
  1565.                                 3,
  1566.                                 function()
  1567.                                     return M.PlayerGui.MainGui.CrateCollectMoney.Visible
  1568.                                 end
  1569.                             )
  1570.                             Q.Anchored = false
  1571.                             break
  1572.                         elseif oc then
  1573.                             oc:Destroy()
  1574.                         end
  1575.                     end
  1576.                 end
  1577.             end
  1578.             Xb()
  1579.         end
  1580.         if ic then
  1581.             sb = false
  1582.             t.TextColor3 = Color3.new(1, 1, 1)
  1583.             gb("Plane success!")
  1584.         end
  1585.     end
  1586.     fb(false)
  1587.     wait(2)
  1588.     if ic then
  1589.         gb("10 second cooldown.")
  1590.         wait(10)
  1591.     end
  1592. end
  1593. local function fc()
  1594.     wb = tick()
  1595.     gb("Speeding up the plane...")
  1596.     local ic = Q.CFrame
  1597.     if tostring(M.Team) ~= "Police" then
  1598.         c(nb, ob, "Police")
  1599.         nb()
  1600.         M.CharacterAdded:Wait()
  1601.         wait(0.5)
  1602.     end
  1603.     for kc = 1, #lb do
  1604.         if lb[kc].Name == "Call Cargo Plane" then
  1605.             lb[kc]:Callback(true)
  1606.             break
  1607.         end
  1608.     end
  1609.     local jc
  1610.     jc =
  1611.         game.CoreGui.RobloxGui.NotificationFrame.ChildAdded:Connect(
  1612.         function(kc)
  1613.             jc:Disconnect()
  1614.             local lc = kc:WaitForChild("NotificationText").Text
  1615.             if lc:match("Wait %d") then
  1616.                 wb = tick() - (197 - tonumber(lc:match("%d+")))
  1617.             end
  1618.         end
  1619.     )
  1620.     wait(0.5)
  1621.     c(nb, ob, "Prisoner")
  1622.     nb()
  1623.     M.CharacterAdded:Wait()
  1624.     wait(3)
  1625.     Tb(ic)
  1626.     if workspace:FindFirstChild("Plane") then
  1627.         game:GetService("StarterGui"):SetCore("SendNotification", {Title = "CargoPlane", Text = "Arriving shortly!"})
  1628.     end
  1629. end
  1630. game:GetService("StarterGui"):SetCore(
  1631.     "SendNotification",
  1632.     {
  1633.         Title = "Auto-Rob by Lennard",
  1634.         Text = X and "SETTINGS CHANGED!" or "Thx For Using",
  1635.         Duration = 20,
  1636.         Button1 = "ok boomer"
  1637.     }
  1638. )
  1639. local gc = 0
  1640. local hc = 0
  1641. while wait(0.5) and f.Parent do
  1642.     if tick() - hc > 60 then
  1643.         hc = tick()
  1644.         game:GetService("VirtualUser"):CaptureController()
  1645.         game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  1646.     end
  1647.     M.PlayerGui.MainGui.CollectMoney.Visible = false
  1648.     if W.enabled then
  1649.         local numpolice = #game:GetService("Teams").Police:GetPlayers()
  1650.         local numplayers = #L:GetPlayers()
  1651.         if sb then
  1652.             ec()
  1653.         elseif Eb then
  1654.             bc()
  1655.         elseif Db then
  1656.             Yb()
  1657.         elseif rb then
  1658.             cc()
  1659.         elseif tb then
  1660.             ac()
  1661.         elseif Cb then
  1662.             Zb()
  1663.         elseif
  1664.             nb and W.respawnForPlane and tick() - wb > 197 and numpolice < numplayers - numpolice and
  1665.                 (numpolice > 1 or numplayers < 20)
  1666.          then
  1667.             fc()
  1668.         elseif #vb > 0 then
  1669.             dc()
  1670.         else
  1671.             gb("Wait for stores to open" .. string.rep(".", gc % 3 + 1))
  1672.             gc = gc + 1
  1673.         end
  1674.     else
  1675.         gb("Disabled.")
  1676.     end
  1677. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement