Meliodas0_0

JB Auto Rob Source

Oct 7th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.75 KB | None | 0 0
  1. --https://v3rmillion.net/showthread.php?tid=688367
  2.  
  3. local K=game:GetService("Players").LocalPlayer or game:GetService("Players"):GetPropertyChangedSignal("LocalPlayer"):Wait()
  4. or game:GetService("Players").LocalPlayer a,b,c,
  5. d=getupvalues or debug.getupvalues,getconsts or debug.getconstants,setconst or debug.setconstant,islclosure or is_l_closure
  6.  
  7. local L=game:GetService("VirtualInputManager")
  8. local M,N
  9. local O={}
  10. local P=Vector3.new()
  11. local Q=false
  12. local R,S,
  13. T=Color3.fromRGB(0,222,0),Color3.fromRGB(222,0,0),Color3.fromRGB(222,222,222)
  14.  
  15. local U=
  16. {
  17. enabled=true,
  18. jewlAllowCrims=false,
  19. preferLongTP=false,
  20. bankRadius2=19,
  21. preferUnsafeEsc=false,
  22. warnSeconds=1.5
  23. }
  24.  
  25.  
  26. local V=false
  27. if readfile then pcall(function()
  28. local ac=game:GetService("HttpService"):JSONDecode(readfile("JBAR.txt"))
  29. local bc=false for cc,dc in pairs(ac)
  30. do if U[cc]==nil then bc=true ac[cc]=nil end end for cc,dc in pairs(U)
  31. do if ac[cc]==nil then bc=true ac[cc]=dc end end if bc then V=true writefile("JBAR.txt",game:GetService("HttpService"):JSONEncode(ac))
  32. end U=ac end)
  33. end local W=game:GetService("RunService").Stepped local X={}
  34. local Y local Z=function()
  35. for ac=1,#X do X[ac].CanCollide=false end end local function ab()
  36. if not Y then Y=W:Connect(Z)
  37. end end local function bb()
  38. if Y then Y:Disconnect()
  39. Y=nil end end local function cb(ac)
  40. if ac then O=ac:WaitForChild("HumanoidRootPart")
  41. N=ac:WaitForChild("Humanoid")
  42. wait(0.2)
  43. X={}
  44. for bc,cc in ipairs(ac:GetChildren())
  45. do if cc:IsA("BasePart")
  46. then X[#X+1]=cc end end end end cb(K.Character)
  47. K.CharacterAdded:Connect(cb)
  48. e=function(ac,bc,cc)
  49. local dc=Instance.new(ac)
  50. for ec,fc in next,cc do dc[ec]=fc end dc.Parent=bc return dc end f=e("ScreenGui",game.CoreGui,{Name="AutoRob",ResetOnSpawn=false,ZIndexBehavior="Sibling"})
  51. g=e("Frame",f,{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)})
  52. h=e("Frame",g,{Name="homeFrame",BackgroundTransparency=1,Size=UDim2.new(1,-30,1,-55),Position=UDim2.new(0,15,0,40)})
  53. i=e("TextButton",h,{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)})
  54. j=e("Frame",i,{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})
  55. k=e("TextLabel",h,{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)})
  56. l=e("TextButton",h,{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=U.enabled and R or S})
  57. m=e("Frame",l,{Name="Shade",BackgroundTransparency=0.9,Size=UDim2.new(1,0,0.5,0),Position=UDim2.new(0,0,0.5,0),BackgroundColor3=Color3.new()})
  58. n=e("Frame",h,{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)})
  59. o=e("TextLabel",n,{Name="jewelryLbl",Size=UDim2.new(0.2,0,1,0),Text="Jewel",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.22,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})
  60. p=e("TextLabel",n,{Name="trainLbl",Size=UDim2.new(0.2,0,1,0),Text="Train",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.4,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})
  61. q=e("TextLabel",n,{Name="bankLbl",Size=UDim2.new(0.2,0,1,0),Text="Bank",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.83,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})
  62. r=e("TextLabel",n,{Name="airdropLbl",Size=UDim2.new(0.2,0,1,0),Text="Airdrop",TextSize=18,Font="SourceSansLight",BackgroundTransparency=1,Position=UDim2.new(0.61,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)})
  63. s=e("TextLabel",n,{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)})
  64. t=e("TextButton",g,{Name="CloseBtn",TextWrapped=true,TextStrokeTransparency=0.7,Size=UDim2.new(0,25,0,25),TextColor3=T,Text="X",BackgroundTransparency=1,Font="GothamBold",Position=UDim2.new(1,-22,0,0),TextScaled=true})
  65. u=e("ImageButton",g,{Name="CogBtn",Image="rbxassetid://135740223",Size=UDim2.new(0,25,0,25),Position=UDim2.new(0,0,0,2),BackgroundTransparency=1})
  66. v=e("Frame",g,{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)})
  67. w=e("Frame",v,{BackgroundTransparency=1,Size=UDim2.new(1,0,0.25,0)})
  68. x=e("TextBox",w,{Name="BankRadiusBox",TextWrapped=true,Size=UDim2.new(0,40,0,15),Text=U.bankRadius2,Font="GothamSemibold",Position=UDim2.new(0.78,0,0.2,0),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)})
  69. y=e("TextLabel",w,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Bank Cops Danger Range",TextSize=15,Font="Code",BackgroundTransparency=1})
  70. z=e("Frame",v,{BackgroundTransparency=0.93,Size=UDim2.new(1,0,0.25,0),Position=UDim2.new(0,0,0.25,0),BackgroundColor3=Color3.new()})
  71. A=e("TextButton",z,{Name="JewlSetBtn",Size=UDim2.new(0,25,0,15),Text=U.jewlAllowCrims and'
  72. X'
  73. or'',Font="SourceSansSemibold",Position=UDim2.new(0.8,0,0.2,0),TextSize=20,BackgroundColor3=Color3.new(1,1,1)
  74. }
  75. )
  76. B=e("TextLabel",z,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Let Crims Enter Jewelry",TextSize=15,Font="Code",BackgroundTransparency=1})
  77. C=e("Frame",v,{BackgroundTransparency=1,Size=UDim2.new(1,0,0.25,0),Position=UDim2.new(0,0,0.5,0)})
  78. D=e("TextButton",C,{Name="WarnSetBtn",Size=UDim2.new(0,25,0,15),Text=U.warnSeconds>1.51 and'
  79. X'
  80. or'',Font="SourceSansSemibold",Position=UDim2.new(0.8,0,0.2,0),TextSize=20,BackgroundColor3=Color3.new(1,1,1)
  81. }
  82. )
  83. E=e("TextLabel",C,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Prefer Longer Warnings",TextSize=15,Font="Code",BackgroundTransparency=1})
  84. F=e("Frame",v,{BackgroundTransparency=0.93,Size=UDim2.new(1,0,0.25,0),Position=UDim2.new(0,0,0.75,0),BackgroundColor3=Color3.new()})
  85. G=e("TextButton",F,{Name="EscSetBtn",Size=UDim2.new(0,25,0,15),Text=U.preferUnsafeEsc and'
  86. X'
  87. or'',Font="SourceSansSemibold",Position=UDim2.new(0.8,0,0.2,0),TextSize=20,BackgroundColor3=Color3.new(1,1,1)
  88. }
  89. )
  90. H=e("TextLabel",F,{TextWrapped=true,Size=UDim2.new(0.8,0,1,0),Text="Remember Your Position",TextSize=15,Font="Code",BackgroundTransparency=1})
  91. I=e("TextLabel",g,{Name="Title",TextWrapped=true,Size=UDim2.new(0.5,0,0,20),Text="Jailbreak Auto-Rob",TextSize=18,Font="Highway",BackgroundTransparency=1,Position=UDim2.new(0.24,0,0,3),TextColor3=T,BackgroundColor3=Color3.new(1,1,1)})
  92. J=e("TextButton",g,{Name="SaveSetsBtn",Size=UDim2.new(0,60,0,25),Text="Save",Font="SourceSans",Style="RobloxRoundDefaultButton",Position=UDim2.new(0,30,0,-25),TextSize=20})
  93. t.MouseButton1Click:Connect(function()
  94. f:Destroy()
  95. Q=true if M then M:Disconnect()
  96. end end)
  97. t.MouseEnter:Connect(function()
  98. t.TextColor3=S end)
  99. t.MouseLeave:Connect(function()
  100. t.TextColor3=T end)
  101. local function db(ac)
  102. i.AutoButtonColor=ac i.BackgroundColor3=ac and Color3.new(0.353,0.557,0.914)
  103. or Color3.new(0.502,0.498,0.506)
  104. j.Visible=ac Q=false end i.MouseButton1Click:Connect(function()
  105. if i.AutoButtonColor then if M then M:Disconnect()
  106. end db(false)
  107. Q=true i.Text="Aborted."wait(2.8)
  108. i.Text="ABORT"end end)
  109. local function eb(ac)
  110. k.Text="Status: "..ac end local fb=game:GetService("TweenService"):Create(u,TweenInfo.new(0.25),{Rotation=135})
  111. local gb=game:GetService("TweenService"):Create(u,TweenInfo.new(0.25),{Rotation=0})
  112. local hb=false u.MouseButton1Click:Connect(function()
  113. hb=not hb if hb then v:TweenPosition(UDim2.new(0,5,0.2,5),nil,"Quart",0.3,true)
  114. h:TweenPosition(UDim2.new(1,15,0,40),nil,"Quart",0.3,true)
  115. if writefile then J:TweenPosition(UDim2.new(0,30,0,2),nil,"Quart",0.3,true)
  116. end fb:Play()
  117. else v:TweenPosition(UDim2.new(-1,5,0.2,5),nil,"Quart",0.3,true)
  118. h:TweenPosition(UDim2.new(0,15,0,40),nil,"Quart",0.3,true)
  119. J:TweenPosition(UDim2.new(0,30,0,-25),nil,"Quart",0.3,true)
  120. gb:Play()
  121. end end)
  122. local ib=x.Text x:GetPropertyChangedSignal("Text"):Connect(function()
  123. x.Text=x.Text:sub(1,4)
  124. local ac=tonumber(x.Text)
  125. if ac then if ac>99 then x.Text='99'
  126. end elseif x.Text~=''
  127. then x.Text=ib end ib=x.Text end)
  128. x.FocusLost:Connect(function()
  129. if tonumber(x.Text)
  130. then U.bankRadius2=tonumber(x.Text)
  131. end x.Text=tostring(U.bankRadius2)
  132. end)
  133. A.MouseButton1Click:Connect(function()
  134. U.jewlAllowCrims=not U.jewlAllowCrims A.Text=U.jewlAllowCrims and"X"or""end)
  135. D.MouseButton1Click:Connect(function()
  136. U.warnSeconds=U.warnSeconds>1.51 and 1.5 or 3 D.Text=U.warnSeconds>1.51 and"X"or""end)
  137. G.MouseButton1Click:Connect(function()
  138. U.preferUnsafeEsc=not U.preferUnsafeEsc G.Text=U.preferUnsafeEsc and"X"or""end)
  139. J.MouseButton1Click:Connect(function()
  140. if writefile and J.Style.Name=="RobloxRoundDefaultButton"then J.Style="RobloxRoundButton"writefile("JBAR.txt",game:GetService("HttpService"):JSONEncode(U))
  141. J.Text="Saved."wait(1)
  142. J.Text="Save"J.Style="RobloxRoundDefaultButton"end end)
  143. l.MouseButton1Click:Connect(function()
  144. U.enabled=not U.enabled l.BackgroundColor3=U.enabled and R or S end)
  145. K:WaitForChild("PlayerScripts"):WaitForChild("LocalScript")
  146. wait(0.5)
  147. wait(5-workspace.DistributedGameTime)
  148. local jb={}
  149. local kb,lb if(getreg or debug.getregistry)
  150. and a then local ac=(getreg or debug.getregistry)()
  151. for bc=1,#ac do local cc=ac[bc]if type(cc)=="function"and(is_protected_closure==nil or is_protected_closure(cc)==false)
  152. and(d==nil or d(cc))
  153. then for dc,ec in next,a(cc)
  154. do if type(ec)=="table"then if rawget(ec,"LastVehicleExit")
  155. then jb=ec elseif rawget(ec,"Specs")
  156. and ec.Frame and#ec==0 then kb=ec.Specs elseif lb==nil and#ec==3 and b and c then for fc=1,3 do if type(ec[fc])=="table"and ec[fc].Name=="Punch"then lb=ec[fc]for gc,hc in ipairs(b(lb.Callback))
  157. do if hc==0.5 then c(lb.Callback,gc,0)
  158. end end end end end end end end end end for ac,bc in ipairs(workspace.Buildings:GetChildren())
  159. do if(bc.Position-Vector3.new(-302.6,30.3,1431.9)).Magnitude<1 then bc.CanCollide=false end end for ac,bc in ipairs(workspace.Jewelrys:GetChildren()[1].Building:GetChildren())
  160. do if bc.Name=="Part"and(bc.Position-Vector3.new(157.8,63.4,1336.6)).Magnitude<1 then bc.CanCollide=false end end local mb={{CFrame.new(1053.6,101.7,1245.6),workspace.Museum.MummyCase.Mummy.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}}
  161. local nb=workspace.Trains:FindFirstChild("SteamEngine")~=nil local ob=workspace.Trains:FindFirstChild("BoxCar")
  162. local pb=ob or{}
  163. workspace.Trains.ChildAdded:Connect(function(ac)
  164. wait(math.random())
  165. if ac.Name=="SteamEngine"then nb=true elseif ac.Name=="BoxCar"and ob==nil and pb.Parent==nil then pb=ac wait(24+math.random()*53)
  166. if ac.Parent and ob==nil then ob=ac end end p.TextColor3=(ob or nb)
  167. and R or Color3.new(1,1,1)
  168. end)
  169. workspace.Trains.ChildRemoved:Connect(function(ac)
  170. if ob==ac then ob=nil elseif ac.Name=="SteamEngine"then nb=false end p.TextColor3=(ob or nb)
  171. and R or Color3.new(1,1,1)
  172. end)
  173. p.TextColor3=(ob or nb)
  174. and R or Color3.new(1,1,1)
  175. local qb={}
  176. local function rb(ac)
  177. local bc=ac:WaitForChild("Briefcase",2)
  178. while bc and bc.Parent and ac:FindFirstChild("Parachute")
  179. do ac.ChildRemoved:Wait()
  180. wait()
  181. end if bc and bc.Parent then qb[#qb+1]=bc r.TextColor3=R end end for ac,bc in ipairs(workspace:GetChildren())
  182. do if bc.Name=="Drop"and bc.ClassName=="Model"then spawn(function()
  183. rb(bc)
  184. end)
  185. end end workspace.ChildAdded:Connect(function(ac)
  186. if ac.Name=="Drop"and ac.ClassName=="Model"then rb(ac)
  187. end end)
  188. workspace.ChildRemoved:Connect(function(ac)
  189. if ac.Name=="Drop"and ac.ClassName=="Model"then wait()
  190. for bc=#qb,1,-1 do if not qb[bc].Parent then table.remove(qb,bc)
  191. end end r.TextColor3=#qb>0 and R or Color3.new(1,1,1)
  192. end end)
  193. local sb=workspace.Banks:GetChildren()[1].Extra.Sign.Decal local tb=workspace.Jewelrys:GetChildren()[1].Extra.Sign.Decal local ub=workspace.Museum.Roof.Hole.Part local vb=sb.Transparency>0.01 local wb=tb.Transparency>0.01 local xb=not ub.CanCollide local yb=#workspace.Ringers.Bank:GetChildren()==0 local zb=#workspace.Ringers.Jewelry:GetChildren()==0 sb:GetPropertyChangedSignal("Transparency"):Connect(function()
  194. wait()
  195. vb=sb.Transparency>0.01 q.TextColor3=vb and R or Color3.new(1,1,1)
  196. if not vb then yb=true end end)
  197. tb:GetPropertyChangedSignal("Transparency"):Connect(function()
  198. wait()
  199. wb=tb.Transparency>0.01 o.TextColor3=wb and R or Color3.new(1,1,1)
  200. if not wb then zb=true end end)
  201. ub:GetPropertyChangedSignal("CanCollide"):Connect(function()
  202. wait()
  203. xb=not ub.CanCollide s.TextColor3=xb and R or Color3.new(1,1,1)
  204. end)
  205. q.TextColor3=vb and R or Color3.new(1,1,1)
  206. o.TextColor3=wb and R or Color3.new(1,1,1)
  207. s.TextColor3=xb and R or Color3.new(1,1,1)
  208. workspace.Ringers.Bank.ChildAdded:Connect(function()
  209. yb=false end)
  210. workspace.Ringers.Jewelry.ChildAdded:Connect(function()
  211. zb=false end)
  212. local Ab=0 local function Bb(ac,bc)
  213. local cc=0 local dc=0.1 ac=(ac==nil or ac<=0)
  214. and 0.001 or ac dc=(dc>ac)
  215. and ac or dc while cc<ac and Q==false and(bc==nil or bc(cc))
  216. do cc=cc+wait(ac-cc<dc and ac-cc or dc)
  217. end return cc end local function Cb(ac)
  218. L:SendKeyEvent(true,ac,false,game)
  219. wait()
  220. L:SendKeyEvent(false,ac,false,game)
  221. end local function Db()
  222. if N.Sit then Cb("Space")
  223. wait(0.07)
  224. N.Jump=true wait(0.3)
  225. jb.LastVehicleExit=9e9 end end local Eb=CFrame.new(-54,245,1126)
  226. local Fb=CFrame.new(118,124,1309)
  227. local function Gb(ac)
  228. local bc=ac local cc,dc=workspace:FindPartOnRay(Ray.new(ac.p,Vector3.new(0,-5,0)),O.Parent)
  229. if cc then if cc.Size.Magnitude<14 then cc.CanCollide=false end bc=ac+Vector3.new(0,5-(ac.Y-dc.Y),0)
  230. end K.PlayerGui.MainGui.Minimap.ImageLabel.Visible=false workspace.CurrentCamera.CameraType="Scriptable"while(O.CFrame.p-bc.p).Magnitude>3 and not Q do local ec=(O.CFrame.p-Eb.p).Magnitude>100 and Eb or Fb local fc=true M=W:Connect(function()
  231. if fc then O.CFrame=ec end O.Velocity,O.RotVelocity=P,P end)
  232. Bb(3,function()
  233. return O:FindFirstChild("BodyGyro")==nil end)
  234. fc=false if O:FindFirstChild("BodyVelocity")
  235. then O.BodyVelocity.Parent=nil end O.CFrame=bc if O.Parent and O.Parent:FindFirstChild("\80\97\114\97\99\104\117\116\101")
  236. then O.Parent["\80\97\114\97\99\104\117\116\101"]:Destroy()
  237. end Bb(0.3)
  238. if O.Parent and O.Parent:FindFirstChild("\80\97\114\97\99\104\117\116\101")
  239. then O.Parent["\80\97\114\97\99\104\117\116\101"]:Destroy()
  240. end Bb(0.2)
  241. M:Disconnect()
  242. end O.CFrame=ac K.PlayerGui.MainGui.Minimap.ImageLabel.Visible=true workspace.CurrentCamera.CameraSubject=N workspace.CurrentCamera.CameraType="Custom"end local function Hb(ac)
  243. N:SetStateEnabled("FallingDown",false)
  244. local bc=(ac-ac.p)+O.Position+Vector3.new(0,4,0)
  245. local cc=ac.p-O.Position local dc=workspace.Gravity workspace.Gravity=0 for ec=0,cc.Magnitude,1.8 do if Q then break end O.CFrame=bc+cc.Unit*ec O.Velocity,O.RotVelocity=P,P wait()
  246. end O.CFrame=ac workspace.Gravity=dc end local function Ib(ac)
  247. return tonumber((tostring(ac):gsub("%D","")))
  248. end local function Jb()
  249. return K.PlayerGui.MainGui.CollectMoney.Visible and Ib(K.PlayerGui.MainGui.CollectMoney.Money.Text)+2>Ib(K.PlayerGui.MainGui.CollectMoney.Maximum.Text)
  250. end local function Kb()
  251. local ac,bc=K.PlayerGui.MainGui.MuseumBag.TextLabel.Text:match("(.-)/(.+)")
  252. return K.PlayerGui.MainGui.MuseumBag.Visible and ac and bc and Ib(ac)>=Ib(bc)
  253. end local Lb local function Mb()
  254. return(Lb.Door.Closed.CFrame.lookVector-Lb.Door.Hinge.CFrame.lookVector).Magnitude>0.1 end local function Nb(ac)
  255. local bc=game:GetService("Teams").Police:GetPlayers()
  256. for cc=1,#bc do local dc=bc[cc]if dc.Character and dc.Character:FindFirstChild("HumanoidRootPart")
  257. and dc.Character:FindFirstChild("Humanoid")
  258. then local ec=dc.Character.HumanoidRootPart.Position if(Lb.Door.Hinge.Position-ec).Magnitude<ac and dc.Character.Humanoid.Health>0 and workspace:FindPartOnRayWithWhitelist(Ray.new(ec,Lb.TriggerDoor.Position-Lb.Door.Hinge.CFrame.lookVector*3-ec),{Lb.Decoration,Lb.Parent.Parent.TopFloor})==nil then return true end end end return false end local function Ob(ac)
  259. if Q then return end local bc=workspace.CurrentCamera bc.CameraType="Scriptable"bc.CFrame=CFrame.new(bc.CFrame.p,ac.Position)
  260. wait()
  261. bc.CameraType="Custom"wait()
  262. L:SendKeyEvent(true,"E",false,game)
  263. end local Pb=CFrame.new()
  264. local function Qb(ac)
  265. db(true)
  266. eb(ac.." ready.")
  267. local bc=g.BackgroundColor3 local cc=0 while cc<U.warnSeconds do for dc=0,1,1/(30*.25)
  268. do g.BackgroundColor3=bc:lerp(S,dc)
  269. cc=cc+wait()
  270. end for dc=0,1,1/(30*.25)
  271. do g.BackgroundColor3=S:lerp(bc,dc)
  272. cc=cc+wait()
  273. end end g.BackgroundColor3=bc if N==nil or N.Health<1 then wait(5)
  274. end if Q or not U.enabled then return true end Db()
  275. if K.Team.Name=="Prisoner"then eb("Breaking out...")
  276. Gb(CFrame.new(-298+math.random()*10,18,1430))
  277. Bb(4,function()
  278. return K.Team.Name=="Prisoner"end)
  279. end Pb=O.CFrame return Q or not U.enabled end local function Rb()
  280. Q=false eb("Escaping...")
  281. if U.preferUnsafeEsc then Gb(Pb)
  282. else Gb(CFrame.new(-298+math.random()*10,18,1430))
  283. end end local function Sb()
  284. local ac=Qb("Jewelry")
  285. if not ac then eb("TPing to jewelry...")
  286. Gb(CFrame.new(142.17,17.88,1351.08))
  287. if U.jewlAllowCrims and zb then Hb(CFrame.new(156.8,17.6,1329.8))
  288. Bb(5,function()
  289. return zb end)
  290. end ac=Q eb("Robbery started!")
  291. local bc=0 local cc=workspace.Jewelrys:GetChildren()[1].Boxes:GetChildren()
  292. table.sort(cc,function(dc,ec)
  293. return dc.Position.X>ec.Position.X end)
  294. for dc=1,#cc do if Q or wb==false or(bc>3 and Jb())
  295. then break end local ec=cc[dc]if ec.Transparency<0.9 then if ec.Position.X<120 and ec.Position.Z>1330 then Hb(CFrame.new(ec.Position+ec.CFrame.lookVector*2.5+Vector3.new(0,0,-2.5),ec.Position))
  296. elseif ec.Position.Z<1309 and ec.Position.Z>1304 then Hb(CFrame.new(ec.Position+ec.CFrame.lookVector*2.5+Vector3.new(0,0,2.5),ec.Position))
  297. else Hb(CFrame.new(ec.Position+ec.CFrame.lookVector*2.5,ec.Position))
  298. end Bb(0.1)
  299. for fc=1,4 do if lb then lb:Callback(true)
  300. else Cb("F")
  301. Bb(0.5)
  302. end end bc=bc+1 Bb(0.5)
  303. end end eb("Selling...")
  304. Gb(CFrame.new(-522+math.random()*354,54.5,1509+math.random()*137))
  305. O.Anchored=true Bb(3,function()
  306. return K.PlayerGui.MainGui.CollectMoney.Visible end)
  307. O.Anchored=false Rb()
  308. if not ac then wb=false o.TextColor3=Color3.new(1,1,1)
  309. eb("Jewelry success!")
  310. end end db(false)
  311. wait(2)
  312. end local function Tb()
  313. local ac=Qb("Bank")
  314. if not ac then eb("TPing to bank...")
  315. Gb(CFrame.new(23.6,22,853.5))
  316. O.Anchored=true Bb(3,function()
  317. return yb end)
  318. O.Anchored=false ac=Q eb("Opening vault...")
  319. Lb=workspace.Banks:GetChildren()[1].Layout:GetChildren()[1]if not Q then local bc=Lb.Door.Hinge.CFrame if(bc.p-Lb.Money.CFrame.p).Magnitude<30 then if Lb.Name=="TheMint"then Gb(bc+bc.lookVector*3+bc.rightVector*13.5)
  320. else Gb(bc+bc.lookVector*3+bc.rightVector*-5.5+Vector3.new(0,3,0))
  321. end else if Lb:FindFirstChild("Lasers")
  322. then for dc,ec in ipairs(Lb.Lasers:GetChildren())
  323. do if ec.Name=="LaserTrack"then ec:Destroy()
  324. end end end Gb(Lb.Money.CFrame)
  325. end local cc=Lb.TriggerDoor.CFrame Lb.TriggerDoor.CFrame=O.CFrame wait()
  326. Lb.TriggerDoor.CFrame=cc end Bb(300,function()
  327. return vb and Mb()==false end)
  328. Bb(3,function()
  329. return vb and(not(Mb()
  330. and Nb(U.bankRadius2)))
  331. end)
  332. eb("Robbery started!")
  333. Bb(80,function()
  334. return Jb()==false and vb and(not(Mb()
  335. and Nb(U.bankRadius2)))
  336. end)
  337. Rb()
  338. if not ac then vb=false q.TextColor3=Color3.new(1,1,1)
  339. eb("Bank success!")
  340. end end db(false)
  341. wait(2)
  342. end local function Ub()
  343. local ac=Qb("Train")
  344. if not ac then local bc=ob.Model.Rob.Gold local cc=workspace.Trains.LocomotiveFront.Model.Front eb("TPing to train...")
  345. ac=Q if ob.Parent then if kb then local dc,ec for fc=1,#kb do local gc=kb[fc]if not gc then elseif dc==nil and gc.Name=="Open Door"and tostring(gc.Part)=="RoofDoorClosed"and ob:IsAncestorOf(gc.Part)
  346. then dc=gc elseif ec==nil and gc.Name=="Breach Vault"and ob:IsAncestorOf(gc.Part)
  347. then ec=gc end end if dc then dc:Callback(true)
  348. end wait()
  349. if ec then ec:Callback(true)
  350. end else eb("Opening door...")
  351. M=W:Connect(function()
  352. O.CFrame=ob.Skeleton.RoofDoorClosed.CFrame+Vector3.new(0,-5,0)
  353. O.Velocity,O.RotVelocity=P,P end)
  354. Bb(0.45)
  355. Ob(ob.Skeleton.RoofDoorClosed)
  356. Bb(7,function()
  357. return(ob.Skeleton.RoofDoor.Position-ob.Skeleton.RoofDoorClosed.Position).Magnitude<1 end)
  358. M:Disconnect()
  359. Bb()
  360. L:SendKeyEvent(false,"E",false,game)
  361. eb("Opening vault...")
  362. M=W:Connect(function()
  363. O.CFrame=bc.CFrame O.Velocity,O.RotVelocity=P,P end)
  364. Bb(0.45)
  365. Ob(ob.Skeleton.Vault.Part)
  366. Bb(7,function()
  367. return ob.Skeleton.Vault.Part.RotVelocity.Magnitude<.001 end)
  368. M:Disconnect()
  369. Bb(0.2)
  370. L:SendKeyEvent(false,"E",false,game)
  371. end eb("Robbery started!")
  372. M=W:Connect(function()
  373. O.CFrame=bc.CFrame O.Velocity,O.RotVelocity=P,P end)
  374. Bb(65,function()
  375. return Jb()==false and cc.Position.X>-1584 end)
  376. M:Disconnect()
  377. end Rb()
  378. if not ac then ob=nil p.TextColor3=Color3.new(1,1,1)
  379. eb("Train success!")
  380. end end db(false)
  381. wait(2)
  382. end local function Vb()
  383. local ac=Qb("Museum")
  384. if not ac then eb("TPing to museum...")
  385. Gb(CFrame.new(1064,110,1194))
  386. if Q then ac=true else eb("Robbery started!")
  387. local bc=K.PlayerGui.MainGui.MuseumBag.TextLabel bc.Text="9"..bc.Text:sub(2)
  388. for cc=1,#mb do local dc=mb[cc][1]local ec=mb[cc][2]if ec.Transparency<.99 then if Q or xb==false or bc.Text:sub(1,1)==bc.Text:sub(5,5)
  389. then break end if kb then O.Anchored=true if cc==1 then ec=ec.Parent.Parent.MummyNode end for fc=1,#kb do local gc=kb[fc]if gc and gc.Part==ec then gc:Callback(true)
  390. break end end else Hb(dc)
  391. Ob(ec)
  392. Bb(7,function()
  393. return ec.Transparency<.99 end)
  394. L:SendKeyEvent(false,"E",false,game)
  395. end Bb(0.1)
  396. end end O.Anchored=false if U.preferUnsafeEsc then Gb(Pb)
  397. else Gb(CFrame.new(-298+math.random()*10,18,1430))
  398. end eb("Bypassing by waiting...")
  399. Bb(15)
  400. Db()
  401. Pb=O.CFrame eb("Selling...")
  402. Gb(CFrame.new(1640,56,-1800))
  403. O.Anchored=true Bb(0.5)
  404. Bb(9,function()
  405. return K.PlayerGui.MainGui.MuseumBag.Visible end)
  406. O.Anchored=false end Rb()
  407. if not ac then xb=false s.TextColor3=Color3.new(1,1,1)
  408. eb("Museum success!")
  409. end end db(false)
  410. wait(2)
  411. end local function Wb()
  412. local ac=Qb("Steam engine")
  413. if not ac then eb("Robbery started!")
  414. local bc=tick()
  415. local cc=workspace.Trains:GetDescendants()
  416. for dc=1,#cc do local ec=cc[dc]if ec.Name=="Briefcase"and ec.Parent and ec:FindFirstChild("Weld")
  417. then if Q or Kb()
  418. then break end if kb then for fc=1,#kb do local gc=kb[fc]if gc and gc.Part==ec then gc:Callback(true)
  419. break end end Bb(2.5)
  420. else ec.Weld.C0=CFrame.new(0,0,5)
  421. ec.Weld.Part1=O Bb()
  422. Ob(ec)
  423. Bb(3,function()
  424. return ec.Parent~=nil end)
  425. L:SendKeyEvent(false,"E",false,game)
  426. Bb()
  427. ec:ClearAllChildren()
  428. end end end eb("Bypassing by waiting...")
  429. Bb(10-(tick()-bc))
  430. Db()
  431. Pb=O.CFrame eb("Selling...")
  432. Gb(CFrame.new(1640,56,-1800))
  433. O.Anchored=true Bb(0.5)
  434. Bb(9,function()
  435. return K.PlayerGui.MainGui.MuseumBag.Visible end)
  436. O.Anchored=false Rb()
  437. if not ac then nb=false p.TextColor3=Color3.new(1,1,1)
  438. eb("Train success!")
  439. end end db(false)
  440. wait(2)
  441. end local function Xb()
  442. local ac=Qb("Airdrop")
  443. if not ac then local bc=qb[1]if bc and bc.Parent then eb("TPing to airdrop...")
  444. ab()
  445. Gb(bc.CFrame+Vector3.new(0,-5,0))
  446. O.Anchored=true Bb()
  447. if Q then ac=true else eb("Please wait 30-60 seconds.")
  448. if not kb then Ob(bc)
  449. end local cc=0 while bc.Parent and cc<60 and not Q do if cc>30 then eb("Robbery started!")
  450. end if kb then for dc=1,#kb do local ec=kb[dc]if ec and ec.Part==bc then ec:Callback(true)
  451. break end end else L:SendKeyEvent(true,"E",false,game)
  452. cc=cc+Bb(6.5,function()
  453. return bc.Parent~=nil end)
  454. L:SendKeyEvent(false,"E",false,game)
  455. end cc=cc+Bb(0.5)
  456. end end O.Anchored=false bb()
  457. Rb()
  458. end if not ac then Ab=tick()
  459. eb("Airdrop success!")
  460. end end db(false)
  461. wait(2)
  462. end game:GetService("StarterGui"):SetCore("SendNotification",{Title="Auto-Rob by sirelKilla",Text=V and"Settings changed!"or''})
  463.  
  464. local Yb=0 local Zb=0 while wait(0.5)
  465. and f.Parent do if workspace.Trains:FindFirstChild("LocomotiveFront")
  466. then local ac=workspace.Trains.LocomotiveFront.Model.Front.Position if ac.X<-1300 and ac.Z<350 then ob=nil p.TextColor3=Color3.new(1,1,1)
  467. end end if(fireclickdetector or click_detector)
  468. and workspace.Switches.BranchBack.Rail.Transparency<.9 then(fireclickdetector or click_detector)(workspace.Switches.BranchBack.Lever.Click.ClickDetector,1)
  469. end if tick()-Zb>60 then Zb=tick()
  470. game:GetService("VirtualUser"):CaptureController()
  471. game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  472. end K.PlayerGui.MainGui.CollectMoney.Visible=false jb.LastVehicleExit=9e9 if U.enabled then if xb then Vb()
  473. elseif wb then Sb()
  474. elseif nb then Wb()
  475. elseif ob then Ub()
  476. elseif#qb>0 and tick()-Ab>20 then Xb()
  477. elseif vb then Tb()
  478. else eb("Wait for stores to open"..string.rep('.',Yb%3+1))
  479. Yb=Yb+1 end else eb("Disabled.")
  480. end
  481. end
Add Comment
Please, Sign In to add comment