Skip to content

Instantly share code, notes, and snippets.

@f3nai
Created November 27, 2020 07:33
Show Gist options
  • Save f3nai/dc2641ced38e2cba552b47634131c663 to your computer and use it in GitHub Desktop.
Save f3nai/dc2641ced38e2cba552b47634131c663 to your computer and use it in GitHub Desktop.
local b,c,d,e,f,g=getupvalues or debug.getupvalues,getupvalue or debug.getupvalue,setupvalue or debug.setupvalue,islclosure or is_l_closure,getconsts or debug.getconstants,(syn and syn.request or http_request)or request local h=game:GetService("Players")local i=h.LocalPlayer or h:GetPropertyChangedSignal("LocalPlayer"):Wait()or h.LocalPlayer local j=game:GetService("VirtualInputManager")local k,l local m={}local n=Vector3.new()local o=false local p,q,r=Color3.fromRGB(0,222,0),Color3.fromRGB(222,0,0),Color3.fromRGB(222,222,222)local s={enabled=true,jewlAllowCrims=false,preferLongTP=false,bankRadius2=19,preferUnsafeEsc=false,warnSeconds=1.5,respawnForPlane=false}local t=false if readfile then pcall(function()local nc=game:GetService("HttpService"):JSONDecode(readfile("JBAR.txt"))local oc=false for pc,qc in pairs(nc)do if s[pc]==nil then oc=true nc[pc]=nil end end for pc,qc in pairs(s)do if nc[pc]==nil then oc=true nc[pc]=qc end end if oc then t=true writefile("JBAR.txt",game:GetService("HttpService"):JSONEncode(nc))end s=nc end)end local u=game:GetService("RunService").Stepped local v={}local w local x=function()for nc=1,#v do v[nc].CanCollide=false end end local function y()if not w then w=u:Connect(x)end end local function z()if w then w:Disconnect()w=nil end end local function A(nc)if nc then m=nc:WaitForChild("HumanoidRootPart")l=nc:WaitForChild("Humanoid")wait(0.2)v={}for oc,pc in ipairs(nc:GetChildren())do if pc:IsA("BasePart")then v[#v+1]=pc end end end end A(i.Character)i.CharacterAdded:Connect(A)a=function(nc,oc,pc)local qc=Instance.new(nc)for rc,sc in next,pc do qc[rc]=sc end qc.Parent=oc return qc end local B=a("ScreenGui",nil,{Name="AutoRob",ResetOnSpawn=false,ZIndexBehavior="Sibling"})local C=a("Frame",B,{Name="Main",ClipsDescendants=true,Draggable=true,Active=true,Size=UDim2.new(0,333,0,140),Position=UDim2.new(0.1,0,0.3,0),BackgroundColor3=Color3.new(0,0.118,0.239)})local D=a("Frame",C,{Name="homeFrame",BackgroundTransparency=1,Size=UDim2.new(1,-30,1,-55),Position=UDim2.new(0,15,0,40)})local E=a("TextButton",D,{Name="AbortBtn",Size=UDim2.new(0.48,0,0.3,0),Text="ABORT",Font="SourceSans",Position=UDim2.new(0.52,0,0.25,0),TextSize=23,AutoButtonColor=false,BackgroundColor3=Color3.new(0.502,0.498,0.506)})local F=a("Frame",E,{Name="Shade",BackgroundTransparency=0.9,Size=UDim2.new(1,0,0.5,0),Position=UDim2.new(0,0,0.5,0),BackgroundColor3=Color3.new(),Visible=false})local G=a("TextLabel",D,{Name="Status",Size=UDim2.new(1,0,0.27,0),Text="Status: Loading...",TextSize=15,TextXAlignment="Left",Font="Code",Position=UDim2.new(0,0,0.73,0),BackgroundColor3=Color3.new(0.765,0.765,0.765)})local H=a("TextButton",D,{Name="ToggleBtn",Size=UDim2.new(0.48,0,0.3,0),Text="TOGGLE",Font="SourceSans",Position=UDim2.new(0,0,0.25,0),TextSize=23,BackgroundColor3=s.enabled and p or q})local I=a("Frame",H,{Name="Shade",BackgroundTransparency=0.9,Size=UDim2.new(1,0,0.5,0),Position=UDim2.new(0,0,0.5,0),BackgroundColor3=Color3.new()})local J=a("Frame",D,{Name="availabels",BackgroundTransparency=1,Size=UDim2.new(1,0,0.23,0),Position=UDim2.new(0,0,-0.12,0),BackgroundColor3=Color3.new(1,1,1)})local K=a("TextLabel",J,{Name="jewelryLbl",Size=UDim2.new(0.2,0,1,0),Text="Jewel",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.455,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})local L=a("TextLabel",J,{Name="trainLbl",Size=UDim2.new(0.2,0,1,0),Text="Train",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.595,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})local M=a("TextLabel",J,{Name="bankLbl",Size=UDim2.new(0.2,0,1,0),Text="Bank",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.725,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})local N=a("TextLabel",J,{Name="airdropLbl",Size=UDim2.new(0.2,0,1,0),Text="Drop",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.855,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})local O=a("TextLabel",J,{Name="museumLbl",Size=UDim2.new(0.2,0,1,0),Text="Museum",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1),Position=UDim2.new(0.285,0,0,0)})local P=a("TextLabel",J,{Name="planeLbl",Size=UDim2.new(0.2,0,1,0),Text="Plane",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1),Position=UDim2.new(0.112,0,0,0)})local Q=a("TextLabel",J,{Name="powerLbl",Size=UDim2.new(0.2,0,1,0),Text="Power",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1),Position=UDim2.new(-0.035,0,0,0)})local R=a("TextButton",C,{Name="CloseBtn",TextWrapped=true,TextStrokeTransparency=0.7,Size=UDim2.new(0,25,0,25),TextColor3=r,Text="X",BackgroundTransparency=1,Font="GothamBold",Position=UDim2.new(1,-22,0,0),TextScaled=true})local S=a("ImageButton",C,{Name="CogBtn",Image="rbxassetid://135740223",Size=UDim2.new(0,25,0,25),Position=UDim2.new(0,0,0,2),BackgroundTransparency=1})local T=a("Frame",C,{Name="setsframe",BackgroundTransparency=0.02,Size=UDim2.new(1,-10,0.8,-10),Position=UDim2.new(-1,5,0.2,5),BorderSizePixel=0,BackgroundColor3=Color3.new(1,1,1)})local U=a("Frame",T,{BackgroundTransparency=1,Size=UDim2.new(1,0,0.25,0)})local V=a("TextBox",U,{Name="BankRadiusBox",TextWrapped=true,Size=UDim2.new(0,40,0,15),Text=s.bankRadius2,Font="GothamSemibold",Position=UDim2.new(0.78,0,0.2,0),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)})local W=a("TextLabel",U,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Bank Cops Danger Range",TextSize=15,Font="Code",BackgroundTransparency=1})local X=a("Frame",T,{BackgroundTransparency=0.93,Size=UDim2.new(1,0,0.25,0),Position=UDim2.new(0,0,0.25,0),BackgroundColor3=Color3.new()})local Y=a("TextButton",X,{Name="JewlSetBtn",Size=UDim2.new(0,25,0,15),Text=s.respawnForPlane and'X'or'',Font="SourceSansSemibold",Position=UDim2.new(0.8,0,0.2,0),TextSize=20,BackgroundColor3=Color3.new(1,1,1)})local Z=a("TextLabel",X,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Respawn To Speed Up Plane",TextSize=15,Font="Code",BackgroundTransparency=1})local ab=a("Frame",T,{BackgroundTransparency=1,Size=UDim2.new(1,0,0.25,0),Position=UDim2.new(0,0,0.5,0)})local bb=a("TextButton",ab,{Name="WarnSetBtn",Size=UDim2.new(0,25,0,15),Text=s.warnSeconds>1.51 and'X'or'',Font="SourceSansSemibold",Position=UDim2.new(0.8,0,0.2,0),TextSize=20,BackgroundColor3=Color3.new(1,1,1)})local cb=a("TextLabel",ab,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Prefer Longer Warnings",TextSize=15,Font="Code",BackgroundTransparency=1})local db=a("Frame",T,{BackgroundTransparency=0.93,Size=UDim2.new(1,0,0.25,0),Position=UDim2.new(0,0,0.75,0),BackgroundColor3=Color3.new()})local eb=a("TextButton",db,{Name="EscSetBtn",Size=UDim2.new(0,25,0,15),Text=s.preferUnsafeEsc and'X'or'',Font="SourceSansSemibold",Position=UDim2.new(0.8,0,0.2,0),TextSize=20,BackgroundColor3=Color3.new(1,1,1)})local fb=a("TextLabel",db,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Remember Your Position",TextSize=15,Font="Code",BackgroundTransparency=1})local gb=a("TextLabel",C,{Name="Title",TextWrapped=true,Size=UDim2.new(0.5,0,0,20),Text="Auto-Rob by SirelKilla",TextSize=18,Font="Highway",BackgroundTransparency=1,Position=UDim2.new(0.24,0,0,3),TextColor3=r,BackgroundColor3=Color3.new(1,1,1)})local hb=a("TextButton",C,{Name="SaveSetsBtn",Size=UDim2.new(0,60,0,25),Text="Save",Font="SourceSans",Style="RobloxRoundDefaultButton",Position=UDim2.new(0,30,0,-25),TextSize=20})if syn then syn.protect_gui(B)end B.Parent=game.CoreGui R.MouseButton1Click:Connect(function()B:Destroy()o=true if k then k:Disconnect()end end)R.MouseEnter:Connect(function()R.TextColor3=q end)R.MouseLeave:Connect(function()R.TextColor3=r end)local function ib(nc)E.AutoButtonColor=nc E.BackgroundColor3=nc and Color3.new(0.353,0.557,0.914)or Color3.new(0.502,0.498,0.506)F.Visible=nc o=false end E.MouseButton1Click:Connect(function()if E.AutoButtonColor then if k then k:Disconnect()end ib(false)o=true E.Text="Aborted."wait(2.8)E.Text="ABORT"end end)local function jb(nc)G.Text="Status: "..nc end local kb=game:GetService("TweenService"):Create(S,TweenInfo.new(0.25),{Rotation=135})local lb=game:GetService("TweenService"):Create(S,TweenInfo.new(0.25),{Rotation=0})local mb=false S.MouseButton1Click:Connect(function()mb=not mb if mb then T:TweenPosition(UDim2.new(0,5,0.2,5),nil,"Quart",0.3,true)D:TweenPosition(UDim2.new(1,15,0,40),nil,"Quart",0.3,true)if writefile then hb:TweenPosition(UDim2.new(0,30,0,2),nil,"Quart",0.3,true)end kb:Play()else T:TweenPosition(UDim2.new(-1,5,0.2,5),nil,"Quart",0.3,true)D:TweenPosition(UDim2.new(0,15,0,40),nil,"Quart",0.3,true)hb:TweenPosition(UDim2.new(0,30,0,-25),nil,"Quart",0.3,true)lb:Play()end end)local nb=V.Text V:GetPropertyChangedSignal("Text"):Connect(function()V.Text=V.Text:sub(1,4)local nc=tonumber(V.Text)if nc then if nc>99 then V.Text='99'end elseif V.Text~=''then V.Text=nb end nb=V.Text end)V.FocusLost:Connect(function()if tonumber(V.Text)then s.bankRadius2=tonumber(V.Text)end V.Text=tostring(s.bankRadius2)end)Y.MouseButton1Click:Connect(function()s.respawnForPlane=not s.respawnForPlane Y.Text=s.respawnForPlane and"X"or""end)bb.MouseButton1Click:Connect(function()s.warnSeconds=s.warnSeconds>1.51 and 1.5 or 3 bb.Text=s.warnSeconds>1.51 and"X"or""end)eb.MouseButton1Click:Connect(function()s.preferUnsafeEsc=not s.preferUnsafeEsc eb.Text=s.preferUnsafeEsc and"X"or""end)hb.MouseButton1Click:Connect(function()if writefile and hb.Style.Name=="RobloxRoundDefaultButton"then hb.Style="RobloxRoundButton"writefile("JBAR.txt",game:GetService("HttpService"):JSONEncode(s))hb.Text="Saved."wait(1)hb.Text="Save"hb.Style="RobloxRoundDefaultButton"end end)H.MouseButton1Click:Connect(function()s.enabled=not s.enabled H.BackgroundColor3=s.enabled and p or q end)i:WaitForChild("PlayerScripts"):WaitForChild("LocalScript")workspace:WaitForChild("Trains")wait(1)local ob,pb,qb,rb,sb,tb if b then local nc=(getreg or debug.getregistry)()for oc=1,#nc do local pc=nc[oc]if type(pc)=="function"and(is_protected_closure==nil or is_protected_closure(pc)==false)and(e==nil or e(pc))then for qc,rc in next,b(pc)do if pb==nil and type(rc)=="table"and#rc>5 then for sc=1,#rc do local tc=rawget(rc,sc)if type(tc)=="table"then if rawget(tc,"Name")=="Punch"then pb=tc end else break end end elseif sb==nil and type(rc)=="function"and(is_protected_closure==nil or is_protected_closure(rc)==false)and(e==nil or e(rc))and b(rc)[#b(rc)]==rc then sb=rc end end elseif type(pc)=="table"and#pc==0 then if rawget(pc,"CircleAction")then ob=pc.CircleAction.Specs elseif rawget(pc,"IsFlying")then pc.IsFlying=function()return tostring(getfenv(2).script)=="Falling"end elseif rb==nil and rawget(pc,"Show")and rawget(pc,"ColorCorrection")then if pc.Maid then rb=function()end else local qc,rc for sc,tc in next,b(pc.Show)do if type(tc)=="table"and tc.Unequip then qc,rc=sc,tc break end end d(pc.Show,qc,nil)pcall(pc.Show)d(pc.Show,qc,rc)rb=pc.Hide end elseif tb==nil and type(rawget(pc,"Init"))=="function"then for qc,rc in next,b(rawget(pc,"Init"))do if type(rc)=="table"and rawget(rc,"SetGrid")then tb=rc break end end end end end if rb then for oc=1,#nc do local pc=nc[oc]if type(pc)=="function"and(is_protected_closure==nil or is_protected_closure(pc)==false)and(e==nil or e(pc))and f(pc)[1]=="Police"and f(pc)[3]=="assert"then qb=pc rb()break end end end if not(ob and pb and qb and rb and sb and tb)then jb("LOAD ERROR")wait(2)end end for nc,oc in ipairs(workspace.Buildings:GetChildren())do if(oc.Position-Vector3.new(330.8,62.4,720.5)).Magnitude<1 then oc.CanCollide=false end end if i.PlayerScripts:FindFirstChild("GameAnalyticsClient")then i.PlayerScripts.GameAnalyticsClient.Disabled=true end local ub={{CFrame.new(1053.6,101.7,1245.6),workspace.Museum.MummyCase.Dummy.Head},{CFrame.new(1037.1,116.6,1254.8),workspace.Museum.Reference.Items.Gold},{CFrame.new(1046.8,116.6,1262.7),workspace.Museum.Reference.Items.SpinnerRim},{CFrame.new(1029.4,116.6,1247.7),workspace.Museum.Reference.Items.Cone.Cone},{CFrame.new(1038.8,101.7,1238.7),workspace.Museum.EgyptionCase.Mask},{CFrame.new(1105.3,101.7,1151),workspace.Museum.JewelCase.Jewel}}local vb=workspace.Trains:FindFirstChild("SteamEngine")~=nil local wb=false local xb local yb=xb or{}workspace.Trains.ChildAdded:Connect(function(nc)wait(math.random())if nc.Name=="SteamEngine"then vb=true elseif nc.Name=="BoxCar"and xb==nil and yb.Parent==nil and false then yb=nc wait(24+math.random()*53)if nc.Parent and xb==nil then xb=nc end end L.TextColor3=(xb or vb)and p or Color3.new(1,1,1)end)workspace.Trains.ChildRemoved:Connect(function(nc)if xb==nc then xb=nil elseif nc.Name=="SteamEngine"then vb=false end L.TextColor3=(xb or vb)and p or Color3.new(1,1,1)end)L.TextColor3=(xb or vb)and p or Color3.new(1,1,1)local zb={}local Ab=0 local function Bb()local nc=workspace.Plane.Crates:GetChildren()for oc=1,#nc do local pc=nc[oc]:FindFirstChild("1")if pc and pc.Transparency<.99 and pc.Position.Y>50 then return pc end end end local function Cb(nc)if nc.ClassName=="Model"then if nc.Name=="Drop"then local oc=nc:WaitForChild("Briefcase",2)while oc and oc.Parent and nc:FindFirstChild("Parachute")do nc.ChildRemoved:Wait()wait()end if oc and oc.Parent then zb[#zb+1]=oc N.TextColor3=p end elseif nc.Name=="Plane"and nc:WaitForChild("Crates",2)then Ab=tick()+120 while nc.Parent and Bb()==nil do wait(0.3)end if nc.Parent then wb=true P.TextColor3=p end end end end for nc,oc in ipairs(workspace:GetChildren())do if oc.ClassName=="Model"then coroutine.wrap(Cb)(oc)end end workspace.ChildAdded:Connect(Cb)workspace.ChildRemoved:Connect(function(nc)if nc.ClassName=="Model"then if nc.Name=="Drop"then wait()for oc=#zb,1,-1 do if not game:IsAncestorOf(zb[oc])then table.remove(zb,oc)end end N.TextColor3=#zb>0 and p or Color3.new(1,1,1)elseif nc.Name=="Plane"then wb=false P.TextColor3=Color3.new(1,1,1)Ab=tick()end end end)local Db=workspace.Banks:GetChildren()[1].Extra.Sign.Decal local Eb=workspace.Jewelrys:GetChildren()[1].Extra.Sign.Decal local Fb=workspace.Museum.Roof.Hole.Part local Gb=Db.Transparency>0.01 local Hb=Eb.Transparency>0.01 local Ib=not Fb.CanCollide local Jb=workspace.PowerPlant.Piston.Piston:FindFirstChildOfClass("TouchTransmitter")~=nil local Kb=#workspace.Ringers.Bank:GetChildren()==0 local Lb=#workspace.Ringers.Jewelry:GetChildren()==0 local Mb=not Jb Db:GetPropertyChangedSignal("Transparency"):Connect(function()wait()Gb=Db.Transparency>0.01 M.TextColor3=Gb and p or Color3.new(1,1,1)if not Gb then Kb=true end end)Eb:GetPropertyChangedSignal("Transparency"):Connect(function()wait()Hb=Eb.Transparency>0.01 K.TextColor3=Hb and p or Color3.new(1,1,1)if not Hb then Lb=true end end)Fb:GetPropertyChangedSignal("CanCollide"):Connect(function()wait()Ib=not Fb.CanCollide O.TextColor3=Ib and p or Color3.new(1,1,1)end)workspace.PowerPlant.Piston.Piston.ChildAdded:Connect(function(nc)if nc.ClassName=="TouchTransmitter"then Mb=false Jb=true Q.TextColor3=p end end)workspace.PowerPlant.Piston.Piston.ChildRemoved:Connect(function(nc)if nc.ClassName=="TouchTransmitter"then Mb=false Jb=false Q.TextColor3=Color3.new(1,1,1)wait(298)Jb=true Q.TextColor3=p end end)M.TextColor3=Gb and p or Color3.new(1,1,1)K.TextColor3=Hb and p or Color3.new(1,1,1)O.TextColor3=Ib and p or Color3.new(1,1,1)Q.TextColor3=Jb and p or Color3.new(1,1,1)workspace.Ringers.Bank.ChildAdded:Connect(function()Kb=false end)workspace.Ringers.Jewelry.ChildAdded:Connect(function()Lb=false end)local function Nb(nc,oc)local pc=tick()local qc=0.1 nc=(nc==nil or nc<=0)and 0.001 or nc qc=(qc>nc)and nc or qc while tick()-pc<nc and o==false and(oc==nil or oc(tick()-pc))do wait(qc)end return tick()-pc end local function Ob(nc)j:SendKeyEvent(true,nc,false,game)wait()j:SendKeyEvent(false,nc,false,game)end local function Pb(nc)if l.Sit then l.Jump=true Ob("Space")if nc or l:GetStateEnabled("Running")then wait()else wait(3)end end end local function Qb(nc)return tonumber((tostring(nc):gsub("%D","")))end local function Rb()local nc,oc=i.PlayerGui.RobberyMoneyGui.Container.Primary.Progress.Amount.Text:match("(.-)/(.+)")return i.PlayerGui.RobberyMoneyGui.Enabled and nc and oc and Qb(nc)>=Qb(oc)end local function Sb()local nc,oc=i.PlayerGui.MainGui.MuseumBag.TextLabel.Text:match("(.-)/(.+)")return i.PlayerGui.MainGui.MuseumBag.Visible and nc and oc and Qb(nc)>=Qb(oc)end local Tb local function Ub()return(Tb.Door.Closed.CFrame.lookVector-Tb.Door.Hinge.CFrame.lookVector).Magnitude>0.1 end local function Vb(nc)local oc=game:GetService("Teams").Police:GetPlayers()for pc=1,#oc do local qc=oc[pc]if qc.Character and qc.Character:FindFirstChild("HumanoidRootPart")and qc.Character:FindFirstChild("Humanoid")then local rc=qc.Character.HumanoidRootPart.Position if(Tb.Door.Hinge.Position-rc).Magnitude<nc and qc.Character.Humanoid.Health>0 and workspace:FindPartOnRayWithWhitelist(Ray.new(rc,Tb.TriggerDoor.Position-Tb.Door.Hinge.CFrame.lookVector*3-rc),{Tb.Decoration,Tb.Parent.Parent.TopFloor})==nil then return true end end end return false end local function Wb(nc)if o then return end local oc=workspace.CurrentCamera oc.CameraType="Scriptable"oc.CFrame=CFrame.new(oc.CFrame.p,nc.Position)wait()oc.CameraType="Custom"wait()j:SendKeyEvent(true,"E",false,game)end local function Xb(nc)l:SetStateEnabled("FallingDown",false)local oc=(nc-nc.p)+m.Position+Vector3.new(0,4,0)local pc=nc.p-m.Position local qc=workspace.Gravity workspace.Gravity=0 for rc=0,pc.Magnitude,2 do if o then break end m.CFrame=oc+pc.Unit*rc m.Velocity,m.RotVelocity=n,n wait()end if not o then m.CFrame=nc end workspace.Gravity=qc end local function Yb(nc,oc)if(nc.p-m.Position).magnitude>300 and not oc then local tc=workspace.Vehicles:GetChildren()for uc=#tc,1,-1 do local vc=tc[uc]if not(vc:FindFirstChild("Seat")and vc:FindFirstChild("Camera")and vc.Seat:FindFirstChild("Player")and vc.Seat.Velocity.Magnitude<1 and vc.Seat.Player.Value==false)then table.remove(tc,uc)end end table.sort(tc,function(uc,vc)return(uc.Seat.Position-nc.p).magnitude<(vc.Seat.Position-nc.p).magnitude end)if tc[1]then local uc=tc[1].Camera.CFrame if(nc.p-uc.p).magnitude<(nc.p-m.Position).magnitude then Nb(1.5,function()m.CFrame=uc return true end)Nb(0.5)end end end l:SetStateEnabled("FallingDown",false)local pc=-99+math.random()*-99 local qc=(nc-nc.p)+Vector3.new(m.Position.X,pc,m.Position.Z)local rc=Vector3.new(nc.X,pc,nc.Z)-qc.p local sc=workspace.Gravity workspace.Gravity=0 for tc=0,rc.Magnitude,2 do if o then break end m.CFrame=qc+rc.Unit*tc m.Velocity,m.RotVelocity=n,n wait()end if not o then m.CFrame=nc end workspace.Gravity=sc wait(.1)end local Zb=CFrame.new()local function ac(nc)ib(true)jb(nc.." ready.")local oc=C.BackgroundColor3 local pc=0 while pc<s.warnSeconds do for qc=0,1,1/(30*.25)do C.BackgroundColor3=oc:lerp(q,qc)pc=pc+wait()end for qc=0,1,1/(30*.25)do C.BackgroundColor3=q:lerp(oc,qc)pc=pc+wait()end end C.BackgroundColor3=oc if l==nil or l.Health<1 then wait(5)end if o or not s.enabled then return false end Pb()Zb=m.CFrame if tostring(i.Team)=="Prisoner"then jb("Breaking out...")Nb(25,function()return i.PlayerGui.MainGui.CellTime.Visible end)Yb(CFrame.new(-954,19.3,-1449))Zb=CFrame.new(310+math.random()*31,18.6,717)Nb(1)if ob and not o then for qc=1,#ob do local rc=ob[qc]if rc.Name=="Enter Driver"and rc.Part and rc.Part.Parent and(rc.Part.Position-m.Position).magnitude<20 then rc:Callback(true)wait(1)rc.Part.Parent:SetPrimaryPartCFrame(CFrame.new(1654,18.9,-1740))wait(1)Pb()break end end end end return s.enabled and not o end local function bc()o=false jb("Escaping...")if s.preferUnsafeEsc then Yb(Zb)else Yb(CFrame.new(310+math.random()*31,18.6,717))end end local function cc()local nc=ac("Jewelry")if nc then jb("TPing to jewelry...")Yb(CFrame.new(89.7,17.88,1302.53)*CFrame.Angles(0,math.pi/-2,0))Xb(CFrame.new(89.7,9,1302.53)*CFrame.Angles(0,math.pi/-2,0))nc=not o jb("Robbery started!")local oc=0 local pc=workspace.Jewelrys:GetChildren()[1].Boxes:GetChildren()table.sort(pc,function(qc,rc)return qc.Position.X+qc.Position.Y*-900>rc.Position.X+rc.Position.Y*-900 end)for qc=1,#pc do if o or Hb==false or(oc>3 and Rb())then break end local rc=pc[qc]if rc.Transparency<0.9 then Xb(CFrame.new(rc.Position+rc.CFrame.lookVector*(rc.Position.X<130 and 3 or-3),rc.Position))Nb(0.1)for sc=1,4 do if pb then pb:Callback(true)else Ob("F")end Nb(0.5)if rc.Transparency>0.9 then break end end oc=oc+1 Nb(0.5)end end jb("Selling...")Yb(CFrame.new(-210.4,35.3,1587.9)*CFrame.Angles(0,math.pi,0),true)Nb(3,function()return i.PlayerGui.RobberyMoneyGui.Enabled end)bc()if nc then Hb=false K.TextColor3=Color3.new(1,1,1)jb("Jewelry success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function dc()local nc=ac("Bank")if nc then jb("TPing to bank...")Yb(CFrame.new(23.6,20,853.5))Nb(2)nc=not o jb("Opening vault...")Tb=workspace.Banks:GetChildren()[1].Layout:GetChildren()[1]local oc=Tb.TriggerDoor.CFrame Tb.TriggerDoor.CFrame=m.CFrame wait()Tb.TriggerDoor.CFrame=oc local pc=Tb.Door.Hinge.CFrame local qc if Tb.Money.Size.Magnitude>25 and(Tb.Money.Position-pc.Position).Magnitude<30 then if Tb.Name=="TheMint"then qc=pc+pc.lookVector*3+pc.rightVector*13.5 else qc=pc+pc.lookVector*3+pc.rightVector*-5.5+Vector3.new(0,3,0)end else if Tb:FindFirstChild("Lasers")then for rc,sc in ipairs(Tb.Lasers:GetChildren())do if sc.Name=="LaserTrack"then sc:Destroy()end end end qc=Tb.Money.CFrame end Yb(qc)Nb(300,function()return Gb and Ub()==false end)Nb(3,function()return Gb and(not(Ub()and Vb(s.bankRadius2)))end)jb("Robbery started!")Nb(80,function()return Rb()==false and Gb and(not(Ub()and Vb(s.bankRadius2)))end)bc()if nc then Gb=false M.TextColor3=Color3.new(1,1,1)jb("Bank success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function ec()local nc=ac("Train")if nc then jb("TPing to train...")local oc=xb.Model.Rob.Gold Yb(oc.CFrame+oc.CFrame.lookVector*4)nc=not o if xb.Parent and workspace.Trains:FindFirstChild("LocomotiveFront")then local pc=workspace.Trains.LocomotiveFront.Model.Front local qc,rc for sc=1,#ob do local tc=ob[sc]if qc==nil and tc.Name=="Open Door"and tostring(tc.Part)=="RoofDoorClosed"and xb:IsAncestorOf(tc.Part)then qc=tc elseif rc==nil and tc.Name=="Breach Vault"and xb:IsAncestorOf(tc.Part)then rc=tc end end if qc then qc:Callback(true)end wait()if rc then rc:Callback(true)end jb("Robbery started!")m.CFrame=oc.CFrame+oc.CFrame.lookVector*4 Nb(65,function()return Rb()==false and pc.Position.X>-1584 end)end bc()if nc then xb=nil L.TextColor3=Color3.new(1,1,1)jb("Train success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function fc()local nc=ac("Museum")if nc then jb("TPing to museum...")Yb(CFrame.new(1064,107,1194))Nb(1)if o then nc=false else jb("Robbery started!")local oc=i.PlayerGui.MainGui.MuseumBag.TextLabel oc.Text="9"..oc.Text:sub(2)for qc=1,#ub do local rc=ub[qc][1]local sc=ub[qc][2]if sc.Transparency<.99 then if o or Ib==false or oc.Text:sub(1,1)==oc.Text:sub(5,5)then break end Xb(rc)if qc==1 then sc=sc.Parent.Parent.MummyNode end if ob then for tc=1,#ob do if ob[tc].Part==sc then ob[tc]:Callback(true)break end end Nb(0.5)else Wb(sc)Nb(7,function()return sc.Transparency<.99 end)j:SendKeyEvent(false,"E",false,game)Nb()end end end local pc=tick()jb("TPing to collector...")Yb(CFrame.new(1643,18.9,-1782))Nb(19-(tick()-pc))Pb()jb("Selling...")Xb(CFrame.new(1647,50.7,-1813))Nb(9,function()return i.PlayerGui.MainGui.MuseumBag.Visible end)end bc()if nc then Ib=false O.TextColor3=Color3.new(1,1,1)jb("Museum success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function gc()local nc=ac("Steam engine")if nc then jb("Robbery started!")local oc=workspace.Trains:GetDescendants()for qc=1,#oc do local rc=oc[qc]if rc.Name=="Briefcase"and rc.Parent and rc:FindFirstChild("Weld")then if o or Sb()then break end if ob then for sc=1,#ob do if ob[sc].Part==rc then ob[sc]:Callback(true)break end end Nb(2.5)else rc.Weld.C0=CFrame.new(0,0,5)rc.Weld.Part1=m Nb()Wb(rc)Nb(3,function()return rc.Parent~=nil end)j:SendKeyEvent(false,"E",false,game)Nb()rc:ClearAllChildren()end end end local pc=tick()Nb(1)jb("TPing to collector...")Yb(CFrame.new(1643,18.9,-1782))Nb(7-(tick()-pc))Pb()jb("Selling...")Xb(CFrame.new(1647,50.7,-1813))Nb(9,function()return i.PlayerGui.MainGui.MuseumBag.Visible end)bc()if nc then vb=false L.TextColor3=Color3.new(1,1,1)jb("Train success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function hc()local nc=ac("Airdrop")if nc then local oc=zb[1]if oc and oc.Parent then jb("TPing to airdrop...")Yb(CFrame.new(oc.Position+Vector3.new(-200,-5,0)))local pc=oc.Position+Vector3.new(-2,-5,0)local qc=CFrame.new(pc,Vector3.new(oc.Position.X,pc.Y,oc.Position.Z))y()Xb(qc)jb("Robbery started!")Nb(0.2)if o then nc=false else k=u:Connect(function()m.Velocity,m.RotVelocity=n,n m.CFrame=qc end)for rc=1,7 do if not ob then Wb(oc)Nb()j:SendKeyEvent(true,"E",false,game)end Nb(6.5,function(sc)return oc.Parent~=nil end)if ob then for sc=1,#ob do if ob[sc].Part==oc then ob[sc]:Callback(true)break end end else j:SendKeyEvent(false,"E",false,game)end Nb(1)jb(string.format("Robbery started! (%d/6)",rc))if not oc.Parent then break end end k:Disconnect()end z()bc()else table.remove(zb,1)end if nc then jb("Airdrop success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function ic()local nc=ac("Plane")if nc then local oc if workspace:FindFirstChild("Plane")then oc=workspace.Plane:FindFirstChild("Root")end if oc then jb("Waiting for takeoff.")Nb(20,function()return oc.Parent~=nil and oc.Position.Y<300 end)nc=not o if workspace:FindFirstChild("Plane")then jb("Robbery started!")local pc=workspace.Plane.Crates:GetChildren()for qc=1,#pc do local rc=pc[qc]:FindFirstChild("1")if rc and rc.Parent and rc.Transparency<.99 and not o then local sc=rc.Parent["2"]local tc k=u:Connect(function()m.CFrame=sc.CFrame+Vector3.new(0,-9,0)m.Velocity,m.RotVelocity=n,n end)if ob then Nb(0.5)for uc=1,#ob do local vc=ob[uc]if ob[uc].Part==rc then ob[uc]:Callback(true)break end end else rc.Anchored=false tc=a("Weld",rc,{Part0=rc,Part1=m,C0=CFrame.new(0,4.5,0)})Nb(0.5)Wb(rc)Nb(20,function()return rc.Transparency<.99 end)j:SendKeyEvent(false,"E",false,game)rc.CanCollide=true end Nb(0.5)k:Disconnect()if i.PlayerGui.MainGui.CrateCollectMoney.Visible then if tc then tc:Destroy()end jb("Selling...")Yb(CFrame.new(-398,30,2026))Nb(3,function()return i.PlayerGui.MainGui.CrateCollectMoney.Visible end)break elseif tc then tc:Destroy()end end end end bc()end if nc then wb=false P.TextColor3=Color3.new(1,1,1)jb("Plane success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function jc()local nc=ac("Power plant")if nc then jb("TPing to power plant...")Yb(CFrame.new(693.4,38,2358.8)*CFrame.Angles(0,math.pi/-2,0))Nb(2,function()return not tb.IsOpen end)if o then nc=false elseif tb.IsOpen then jb("Solving first puzzle...")for qc,rc in ipairs(tb.Grid)do for sc,tc in ipairs(rc)do rc[sc]=tc+1 end end local oc,pc=pcall(g,{Url="https://numberlink-solver.herokuapp.com/api/solve";Method="POST";Body=game:GetService("HttpService"):JSONEncode({matrix=tb.Grid});Headers={["Content-Type"]="application/json"};})if oc and type(pc)=="table"and pc.Success then tb.Grid=game:GetService("HttpService"):JSONDecode(pc.Body).solution for qc,rc in ipairs(tb.Grid)do for sc,tc in ipairs(rc)do rc[sc]=tc-1 end end tb.OnConnection()Nb(3,function()return tb.IsOpen end)if not tb.IsOpen then m.CFrame=m.CFrame+Vector3.new(0,25,0)Xb(CFrame.new(719,62.4,2221))for qc=1,3 do jb("Robbery started!")Xb(CFrame.new(789.9,5.2,2158.4))Nb(1)m.CFrame=CFrame.new(789,5.6,2144)Nb(3,function()return not tb.IsOpen end)if tb.IsOpen then jb("Solving second puzzle...")for tc,uc in ipairs(tb.Grid)do for vc,wc in ipairs(uc)do uc[vc]=wc+1 end end local rc,sc=pcall(g,{Url="https://numberlink-solver.herokuapp.com/api/solve";Method="POST";Body=game:GetService("HttpService"):JSONEncode({matrix=tb.Grid});Headers={["Content-Type"]="application/json"};})if rc and type(sc)=="table"and sc.Success then tb.Grid=game:GetService("HttpService"):JSONDecode(sc.Body).solution for tc,uc in ipairs(tb.Grid)do for vc,wc in ipairs(uc)do uc[vc]=wc-1 end end tb.OnConnection()Nb(3,function()return tb.IsOpen end)if tb.IsOpen then tb:Hide()else jb("TPing to collector...")local tc=tick()Yb(CFrame.new(1643,18.9,-1782))Nb(24+math.random()*1-(tick()-tc))Pb()jb("Selling...")Xb(CFrame.new(1647,50.7,-1813))Nb(9,function()return i.PlayerGui:FindFirstChild("PowerPlantRobberyGui")end)break end else tb:Hide()end end end end else jb("HTTP ERROR")Nb(1)end end bc()if nc then Jb=false Q.TextColor3=Color3.new(1,1,1)jb("Power plant success!")end end ib(false)wait(2)if nc then jb("5 second cooldown.")wait(5)end end local function kc()Ab=tick()jb("Speeding up the plane...")local nc=m.CFrame if tostring(i.Team)~="Police"then d(qb,1,1)qb()local qc=m Nb(2,function()return m==qc end)end for qc=1,#ob do if ob[qc].Name=="Call Cargo Plane"then ob[qc]:Callback(true)break end end wait(0.4)d(qb,1,2)qb()local oc=m Nb(2,function()return m==oc end)local pc=i.PlayerGui.NotificationGui.ContainerNotification.Message.Text:match("Wait (%d+)")if pc and i.PlayerGui.NotificationGui.Enabled then Ab=tick()-197+tonumber(pc)end if workspace:FindFirstChild("Plane")then game:GetService("StarterGui"):SetCore("SendNotification",{Title="CargoPlane",Text="Arriving shortly!"})end Yb(nc)end if b then game:GetService("StarterGui"):SetCore("SendNotification",{Title="Auto-Rob by sirelKilla",Text=t and"OPTIONS CHANGED!"or"😎😎😎😎",Duration=15,Button1="nigga"})else game:GetService("StarterGui"):SetCore("SendNotification",{Title="Auto-Rob by sirelKilla",Text=t and"OPTIONS CHANGED!"or"Consider buying a paid exploit for more features, like robbing power",Duration=15,Button1="ty daddy"})end local lc=0 local mc=0 while wait(0.5)and B.Parent do if workspace.Trains:FindFirstChild("LocomotiveFront")then local nc=workspace.Trains.LocomotiveFront.Model.Front.Position if nc.X<-1300 and nc.Z<350 then xb=nil L.TextColor3=Color3.new(1,1,1)end end if(fireclickdetector or click_detector)and workspace.Switches.BranchBack.Rail.Transparency<.9 then(fireclickdetector or click_detector)(workspace.Switches.BranchBack.Lever.Click.ClickDetector,1)end i.PlayerGui.RobberyMoneyGui.Enabled=false if s.enabled then local nc=#game:GetService("Teams").Police:GetPlayers()local oc=#h:GetPlayers()if Jb and g then jc()elseif wb then ic()elseif Ib then fc()elseif Hb then cc()elseif vb then gc()elseif xb then ec()elseif Gb then dc()elseif qb and s.respawnForPlane and tick()-Ab>197 and nc<oc-nc and(nc>1 or oc<20)then kc()elseif Mb and tick()-mc>120 and g then mc=tick()jc()elseif#zb>0 then Ob("Caret")hc()else jb("Wait for stores to open"..string.rep('.',lc%3+1))lc=lc+1 end else jb("Disabled.")end end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment