LightSynapse

Sir Meme's GUI Jailbreak

Mar 29th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.94 KB | None | 0 0
  1. --https://v3rmillion.net/showthread.php?tid=688367
  2. if not getrawmetatable then
  3. local h = Instance.new("Hint",workspace)
  4. h.Text = "Incompatible exploit."
  5. wait(2)
  6. h:Destroy()
  7. return
  8. end
  9. player = game:GetService("Players").LocalPlayer
  10. local root,uptorso,humanoid
  11. local v30=Vector3.new()
  12. local RNG=Random.new()
  13. local HOLD_E = false
  14. local abort = false
  15. local stepconn
  16. local green,red=Color3.fromRGB(0,230,0),Color3.fromRGB(230,0,0)
  17. local safeMove = 80 --distance allowed by anti exploit
  18. local settings = {enabled=true,jewlAllowCrims=false,preferLongTP=false,bankRadius2=19,preferUnsafeEsc=false}
  19. if readfile then
  20. pcall(function()
  21. local new = game:GetService("HttpService"):JSONDecode(readfile("JBAR.txt"))
  22. --corruption?
  23. local doOverwrite=false
  24. for k,v in pairs(new) do
  25. if settings[k]==nil then
  26. doOverwrite=true
  27. new[k]=nil
  28. end
  29. end
  30. for k,v in pairs(settings) do
  31. if new[k]==nil then
  32. doOverwrite=true
  33. new[k]=v
  34. end
  35. end
  36. --use input
  37. if doOverwrite then
  38. warn("Settings overwritten")
  39. writefile("JBAR.txt",game:GetService("HttpService"):JSONEncode(new))
  40. end
  41. settings = new
  42. end)
  43. end
  44.  
  45. --handle character
  46. local Stepped = game:GetService("RunService").Stepped
  47. local NCparts = {}
  48. local NCconn
  49. local NCfunc = function()
  50. for i=1,#NCparts do
  51. NCparts[i].CanCollide=false
  52. end
  53. end
  54. local function noclip()
  55. if not NCconn then
  56. NCconn = Stepped:Connect(NCfunc)
  57. end
  58. end
  59. local function yesclip()
  60. if NCconn then
  61. NCconn:Disconnect()
  62. NCconn = nil
  63. end
  64. end
  65. local lastRootCf
  66. local function onRootChanged()
  67. if (root.CFrame.p-Vector3.new(-38.7,19.5,1094.2)).magnitude < 1 then
  68. root.CFrame = lastRootCf
  69. end
  70. end
  71. local function newchar(char)
  72. if char then
  73. root = char:WaitForChild("HumanoidRootPart")
  74. root:GetPropertyChangedSignal("CFrame"):Connect(onRootChanged)
  75. uptorso = char:WaitForChild("UpperTorso")
  76. humanoid = char:WaitForChild("Humanoid")
  77. wait(0.2)
  78. NCparts = {}
  79. for _,v in ipairs(char:GetChildren()) do
  80. if v:IsA("BasePart") then
  81. NCparts[#NCparts+1]=v
  82. end
  83. end
  84. end
  85. end
  86. newchar(player.Character)
  87. player.CharacterAdded:Connect(newchar)
  88. Stepped:Connect(function()
  89. lastRootCf = root.CFrame
  90. end)
  91.  
  92. --interface
  93. Create = function(class,parent,props)
  94. local new = Instance.new(class)
  95. for k,v in next,props do
  96. new[k]=v
  97. end
  98. new.Parent = parent
  99. return new
  100. end
  101.  
  102. gui=Create("ScreenGui",game.CoreGui,{Name="AutoRob", ResetOnSpawn=false, ZIndexBehavior="Sibling"})
  103. main=Create("Frame",gui,{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)})
  104. homeFrame=Create("Frame",main,{Name="homeFrame", BackgroundTransparency=1, Size=UDim2.new(1,-30,1,-55), Position=UDim2.new(0,15,0,40)})
  105. AbortBtn=Create("TextButton",homeFrame,{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,
  106. BackgroundColor3=Color3.new(0.502,0.498,0.506), AutoButtonColor=false})
  107. Shade=Create("Frame",AbortBtn,{Name="Shade", BackgroundTransparency=0.89999997615814, Size=UDim2.new(1,0,0.5,0), Position=UDim2.new(0,0,0.5,0), BackgroundColor3=Color3.new(), Visible=false})
  108. Status=Create("TextLabel",homeFrame,{Name="Status", Size=UDim2.new(1,0,0.27,0), Text="Status: Loading luraph...", TextSize=15, TextXAlignment="Left", Font="Code",
  109. BackgroundTransparency=0.25, Position=UDim2.new(0,0,0.73,0), BackgroundColor3=Color3.new(1,1,1)})
  110. ToggleBtn=Create("TextButton",homeFrame,{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,
  111. BackgroundColor3=settings.enabled and green or red})
  112. Shade_2=Create("Frame",ToggleBtn,{Name="Shade", BackgroundTransparency=0.89999997615814, Size=UDim2.new(1,0,0.5,0), Position=UDim2.new(0,0,0.5,0), BackgroundColor3=Color3.new()})
  113. availabels=Create("Frame",homeFrame,{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)})
  114. jewelryLbl=Create("TextLabel",availabels,{Name="jewelryLbl", Size=UDim2.new(0.2,0,1,0), Text="Jewel", TextSize=18, Font="SourceSansLight", BackgroundTransparency=1,
  115. Position=UDim2.new(0.2,0,0,0), TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
  116. trainLbl=Create("TextLabel",availabels,{Name="trainLbl", Size=UDim2.new(0.2,0,1,0), Text="Train", TextSize=18, Font="SourceSansLight", BackgroundTransparency=1,
  117. Position=UDim2.new(0.6,0,0,0), TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
  118. bankLbl=Create("TextLabel",availabels,{Name="bankLbl", Size=UDim2.new(0.2,0,1,0), Text="Bank", TextSize=18, Font="SourceSansLight", BackgroundTransparency=1,
  119. Position=UDim2.new(0.8,0,0,0), TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
  120. airdropLbl=Create("TextLabel",availabels,{Name="airdropLbl", Size=UDim2.new(0.2,0,1,0), Text="Airdrop", TextSize=18, Font="SourceSansLight", BackgroundTransparency=1,
  121. Position=UDim2.new(0.4,0,0,0), TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
  122. museumLbl=Create("TextLabel",availabels,{Name="museumLbl", Size=UDim2.new(0.2,0,1,0), Text="Museum", TextSize=18, Font="SourceSansLight", BackgroundTransparency=1,
  123. TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
  124. CloseBtn=Create("TextButton",main,{Name="CloseBtn", TextWrapped=true, TextStrokeTransparency=0.69999998807907, Size=UDim2.new(0,25,0,25), TextColor3=Color3.new(0.9,0.9,0.9), Text="X",
  125. BackgroundTransparency=1, Font="GothamBold", Position=UDim2.new(1,-22,0,0), TextScaled=true})
  126. CogBtn=Create("ImageButton",main,{Name="CogBtn", Image="rbxassetid://135740223", Size=UDim2.new(0,25,0,25), Position=UDim2.new(0,0,0,2), BackgroundTransparency=1})
  127. setsframe=Create("Frame",main,{Name="setsframe", BackgroundTransparency=0.019999999552965, Size=UDim2.new(1,-10,0.8,-10), Position=UDim2.new(-1,5,0.2,5), BorderSizePixel=0, BackgroundColor3=Color3.new(1,1,1)})
  128. Frame=Create("Frame",setsframe,{BackgroundTransparency=1, Size=UDim2.new(1,0,0.25,0)})
  129. BankRadiusBox=Create("TextBox",Frame,{Name="BankRadiusBox", TextWrapped=true, Size=UDim2.new(0,40,0,15), Text=settings.bankRadius2, Font="GothamSemibold", Position=UDim2.new(0.78,0,0.2,0),
  130. TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
  131. Label=Create("TextLabel",Frame,{TextWrapped=true, Size=UDim2.new(0.8,0,1,0), Text="Bank Cops Safety Radius", TextSize=15, Font="Code", BackgroundTransparency=1})
  132. Frame_2=Create("Frame",setsframe,{BackgroundTransparency=0.93000000715256, Size=UDim2.new(1,0,0.25,0), Position=UDim2.new(0,0,0.25,0), BackgroundColor3=Color3.new()})
  133. JewlSetBtn=Create("TextButton",Frame_2,{Name="JewlSetBtn", Size=UDim2.new(0,25,0,15), Text=settings.jewlAllowCrims and 'X' or '', Font="SourceSansSemibold", Position=UDim2.new(0.8,0,0.2,0), TextSize=20,
  134. BackgroundColor3=Color3.new(1,1,1)})
  135. Label_2=Create("TextLabel",Frame_2,{TextWrapped=true, Size=UDim2.new(0.8,0,1,0), Text="Let Crims Enter Jewelry", TextSize=15, Font="Code", BackgroundTransparency=1})
  136. Frame_3=Create("Frame",setsframe,{BackgroundTransparency=1, Size=UDim2.new(1,0,0.25,0), Position=UDim2.new(0,0,0.5,0)})
  137. TpSetBtn=Create("TextButton",Frame_3,{Name="TpSetBtn", Size=UDim2.new(0,25,0,15), Text=settings.preferLongTP and 'X' or '', Font="SourceSansSemibold", Position=UDim2.new(0.8,0,0.2,0), TextSize=20,
  138. BackgroundColor3=Color3.new(1,1,1)})
  139. Label_3=Create("TextLabel",Frame_3,{TextWrapped=true, Size=UDim2.new(0.8,0,1,0), Text="Prefer Longer TP Method", TextSize=15, Font="Code", BackgroundTransparency=1})
  140. Frame_4=Create("Frame",setsframe,{BackgroundTransparency=0.93000000715256, Size=UDim2.new(1,0,0.25,0), Position=UDim2.new(0,0,0.75,0), BackgroundColor3=Color3.new()})
  141. EscSetBtn=Create("TextButton",Frame_4,{Name="EscSetBtn", Size=UDim2.new(0,25,0,15), Text=settings.preferUnsafeEsc and 'X' or '', Font="SourceSansSemibold", Position=UDim2.new(0.8,0,0.2,0), TextSize=20,
  142. BackgroundColor3=Color3.new(1,1,1)})
  143. Label_4=Create("TextLabel",Frame_4,{TextWrapped=true, Size=UDim2.new(0.8,0,1,0), Text="Escape To Former Position", TextSize=15, Font="Code", BackgroundTransparency=1})
  144. Title=Create("TextLabel",main,{Name="Title", TextWrapped=true, Size=UDim2.new(0.5,0,0,20), Text="Jailbreak Auto-Rob", TextSize=18, Font="Highway",
  145. BackgroundTransparency=1, Position=UDim2.new(0.24,0,0,3), TextColor3=Color3.new(0.9,0.9,0.9), BackgroundColor3=Color3.new(1,1,1)})
  146. SaveSetsBtn=Create("TextButton",main,{Name="SaveSetsBtn", Size=UDim2.new(0,60,0,25), Text="Save", Font="SourceSans", Style="RobloxRoundDefaultButton", Position=UDim2.new(0,30,0,-25),
  147. TextSize=20})
  148.  
  149. --gui code
  150. CloseBtn.MouseButton1Click:Connect(function() gui:Destroy() abort=true end)
  151. CloseBtn.MouseEnter:Connect(function() CloseBtn.TextColor3=red end)
  152. CloseBtn.MouseLeave:Connect(function() CloseBtn.TextColor3=Color3.new(0.9,0.9,0.9) end)
  153.  
  154. local function toggleCanAbort(bool)
  155. AbortBtn.AutoButtonColor=bool
  156. AbortBtn.BackgroundColor3 = bool and Color3.new(0.353,0.557,0.914) or Color3.new(0.502,0.498,0.506)
  157. Shade.Visible = bool
  158. abort=false
  159. end
  160. AbortBtn.MouseButton1Click:Connect(function()
  161. if AbortBtn.AutoButtonColor==true then
  162. if stepconn then stepconn:Disconnect() end
  163. local hit,p = workspace:FindPartOnRay(Ray.new(player.Character.Head.Position+Vector3.new(0,10,0),Vector3.new(0,20,0)))
  164. if hit then
  165. player.Character:MoveTo(p)
  166. else
  167. local angle = RNG:NextNumber(0,math.pi*2)
  168. root.CFrame=root.CFrame+Vector3.new(safeMove*math.cos(angle),math.max(0,200-root.CFrame.y),safeMove*math.sin(angle))
  169. end
  170. toggleCanAbort(false)
  171. abort=true
  172. AbortBtn.Text = "Aborted."
  173. wait(2.8)
  174. AbortBtn.Text = "ABORT"
  175. end
  176. end)
  177. local function stprint(txt)
  178. Status.Text = "Status: "..txt
  179. end
  180. local function strToNum(str)
  181. return tonumber((tostring(str):gsub("%D", "")))
  182. end
  183.  
  184. local tweenCogOut = game:GetService("TweenService"):Create(CogBtn,TweenInfo.new(0.25),{Rotation=135})
  185. local tweenCogIn = game:GetService("TweenService"):Create(CogBtn,TweenInfo.new(0.25),{Rotation=0})
  186. local cogOut = false
  187. CogBtn.MouseButton1Click:Connect(function()
  188. cogOut = not cogOut
  189. if cogOut then
  190. setsframe:TweenPosition(UDim2.new(0,5,0.2,5),nil,"Quart",0.3,true)
  191. homeFrame:TweenPosition(UDim2.new(1,15,0,40),nil,"Quart",0.3,true)
  192. if writefile then SaveSetsBtn:TweenPosition(UDim2.new(0,30,0,2),nil,"Quart",0.3,true) end
  193. tweenCogOut:Play()
  194. else
  195. setsframe:TweenPosition(UDim2.new(-1,5,0.2,5),nil,"Quart",0.3,true)
  196. homeFrame:TweenPosition(UDim2.new(0,15,0,40),nil,"Quart",0.3,true)
  197. SaveSetsBtn:TweenPosition(UDim2.new(0,30,0,-25),nil,"Quart",0.3,true)
  198. tweenCogIn:Play()
  199. end
  200. end)
  201. local bankBoxOld=BankRadiusBox.Text
  202. BankRadiusBox:GetPropertyChangedSignal("Text"):Connect(function()
  203. BankRadiusBox.Text=BankRadiusBox.Text:sub(1,4)
  204. local num = tonumber(BankRadiusBox.Text)
  205. if num then
  206. if num>99 then
  207. BankRadiusBox.Text = '99'
  208. end
  209. elseif BankRadiusBox.Text~='' then
  210. BankRadiusBox.Text = bankBoxOld
  211. end
  212. bankBoxOld = BankRadiusBox.Text
  213. end)
  214. BankRadiusBox.FocusLost:Connect(function()
  215. if tonumber(BankRadiusBox.Text) then
  216. settings.bankRadius2=tonumber(BankRadiusBox.Text)
  217. end
  218. BankRadiusBox.Text=tostring(settings.bankRadius2)
  219. end)
  220. JewlSetBtn.MouseButton1Click:Connect(function()
  221. settings.jewlAllowCrims = not settings.jewlAllowCrims
  222. JewlSetBtn.Text = settings.jewlAllowCrims and "X" or ""
  223. end)
  224. TpSetBtn.MouseButton1Click:Connect(function()
  225. settings.preferLongTP = not settings.preferLongTP
  226. TpSetBtn.Text = settings.preferLongTP and "X" or ""
  227. end)
  228. EscSetBtn.MouseButton1Click:Connect(function()
  229. settings.preferUnsafeEsc = not settings.preferUnsafeEsc
  230. EscSetBtn.Text = settings.preferUnsafeEsc and "X" or ""
  231. end)
  232. SaveSetsBtn.MouseButton1Click:Connect(function()
  233. if writefile and SaveSetsBtn.Style.Name=="RobloxRoundDefaultButton" then
  234. SaveSetsBtn.Style="RobloxRoundButton"
  235. writefile("JBAR.txt",game:GetService("HttpService"):JSONEncode(settings))
  236. SaveSetsBtn.Text="Saved."
  237. wait(1)
  238. SaveSetsBtn.Text="Save"
  239. SaveSetsBtn.Style="RobloxRoundDefaultButton"
  240. end
  241. end)
  242. ToggleBtn.MouseButton1Click:Connect(function()
  243. settings.enabled = not settings.enabled
  244. ToggleBtn.BackgroundColor3 = settings.enabled and green or red
  245. end)
  246.  
  247. local function warnFlash(s)
  248. stprint(s.." ready.")
  249. local col0 = main.BackgroundColor3
  250. for i=1,4-math.min(3,time()/7200) do
  251. for a=0,1,1/(30*.25) do
  252. main.BackgroundColor3 = col0:lerp(red,a)
  253. wait()
  254. end
  255. for a=0,1,1/(30*.25) do
  256. main.BackgroundColor3 = red:lerp(col0,a)
  257. wait()
  258. end
  259. end
  260. main.BackgroundColor3 = col0
  261. end
  262.  
  263. --vitals
  264. local mainScr = player.PlayerScripts.LocalScript
  265. local oldWTSP = workspace.CurrentCamera.WorldToScreenPoint
  266. local MT = getrawmetatable(game)
  267. if setreadonly then
  268. setreadonly(MT,false)
  269. elseif make_writeable then
  270. make_writeable(MT)
  271. end
  272. local old__namecall = MT.__namecall
  273. local old__index = MT.__index
  274. function MT:__namecall(...)
  275. local args = {...}
  276. local m = args[#args]
  277. if m=="WorldToScreenPoint" and self.ClassName=="Camera" then
  278. local ret = oldWTSP(self,...)
  279. return ret,true
  280. elseif m=="FindPartOnRay" and typeof(args[1])=="Ray" and args[1].Origin==uptorso.Position and args[1].Direction==Vector3.new(0,-8,0) then
  281. return nil, args[1].Origin+args[1].Direction, v30, Enum.Material.Air
  282. end
  283. return old__namecall(self,...)
  284. end
  285. function MT:__index(k)
  286. if screnv==nil and getfenv(2).script==mainScr then
  287. screnv = getfenv(2)
  288. screnv.getfenv = function() return screnv end
  289. end
  290. if k=="PlatformStand" and self==humanoid and getfenv(2).script==mainScr then
  291. return true
  292. end
  293. return old__index(self,k)
  294. end
  295.  
  296. if getupvalues or debug.getupvalues then
  297. spawn(function()
  298. local t=string.byte;local d=string.char;local C=string.sub;local H=table.concat;local f=math.ldexp;local D=getfenv or function()return _ENV end;local K=setmetatable;local G=unpack;local l=pcall;local S=tonumber;local function i(G)local e,n,a="","",{}local o=256;local c={}for l=0,o-1 do c[l]=d(l)end;local l=1;local function t()local e=S(C(G,l,l),36)l=l+1;local n=S(C(G,l,l+e-1),36)l=l+e;return n end;e=d(t())a[1]=e;while l<#G do local l=t()if c[l]then n=c[l]else n=e..C(e,1,1)end;c[o]=e..C(n,1,1)a[#a+1],e,o=n,n,o+1 end;return table.concat(a)end;local c=i('21O21427521521027521422722522K22L22G22M22121W22L22522J21521A27922422522222L22721521B27927B22K22I22527T27827527X27Z22721T22J27Y22921521927922K22922G2252172792792601N21427M28D22122221W2252151W27923E22122722421Z21W21W2151Y27923H21Y22I28Y29029228I28J2792151X27922622L21Y22322K21T21Z21Y28B27921Y22522822K28O27523F28G22327L27N27523229921X28T1Z27922G29K22321S23122M22521Y29W28221422221Z22822322122I2AF2AH29W21L27928822522121X23121Y28629T2AS2AI27727921X22L22J22522L2B02AG2B621127922121T22I22422I21Z22G2B522K27529H27529D2142BV28K1N2BX28J2C027522W21629E1327926D21425S25Z2602792692182CB25K21827526K2CJ21426A2CM26M2282CB25G2282141W2CL28V2CO27526M22K2CS2BR1W27021421K21426127926W2182D82612CM26G21K102142DH2D021S2CS21S2CV2682102D825N28226S2141821425L27926S21C2D825V21C27526O2182DJ25L2CM26O21G2E421G27526C1W2D826L28V2DK2EG21425P2EO26K2E62EP2ET26M22O2CS22O2CV26K2CV21426327926M2302CS2302F02CM25P2CM2CL2752CZ21426M1K2CS1K2CV2D62DE2792CL2DY2FG26M1S2CS1S2DQ2DS2142DU27526W2DX2DZ2DB21O2E42742142EI2EK2EM26K2G825P2G826M182CS2DY1W2682EM25Y2GC2FD2CP24027V25G24025Z21B26M24C2GT24C2GW26M2542GT2542H221S2GT21S2H22GZ21425G2H12GX26S2GT26S2H226K2GT26K2H223K2GT23K2GW2CM2BW29E29F28C27529T29V29G29I2AC29N29P2C228L21521528J21M27926H2CA25Z25O2C82CG25Z25Q2CM26827925K2792702D821425K2IR26M1C2CS1C2CV26O2CE27925O2ET25P2ET26O2EJ21425U2GC2EE21426J2EO26M21O2CS2741W26G2182E62682CM26C2D721425H2F52102CS2782JK2GN2GP2CK2CP25C2GT25C2H225O2GT25O2H22682GT2682GW2A92BU2HV2I72BT21429J29L2I429Q2HX2142HZ29W2A321422K28Q28S2C026G23422W2152BV23H22P28N2KT22Y21T21Y22422J2C21W2L12KP22U2AZ28T2KT23C2AC2DP2HT21423A27926L2IE25D27926G2IN2LV2CM2CI2752C92CH2F521G25T25Z25X21G28U2D62752692IP21K2E625S2IR2DC27525M2CM26S2IR2IT2G12J825K2GC21O28V26J2GG1W2M625G1W28U26X1W2CB26B2EM26S2EM25M2EM26O2MO2IR2N82E62MS2D025S2CS25S2CV25G2CM2CF27525C2IY2EP2NS2N02D82JA2CK102E626J2DJ2FH25C2CS25C2NM2822692822NR27525P2NU2J82NX21426K21K23C2CN2IU26O2CS2J01W25H2N425Z2N62NQ2NS2OD2752641O2OY2P02FH26C2CS2JQ2N42NO2CM24S1G2OC2PB2CA2OF2GC1K2MV2FL2FH2442CS2442CV25T2OS2OU21424S2N92EM24O2PD25K2PD2PT2NG2EM26M23O2CS23O2CV2582P827525422S2OC2QC2142582PF2CK23C2O02OK2FH2502CS2502Q722S2DJ25I2QE26G23C2P026E2QL26M2582CS2582Q72Q92142QB2PB2QT2752QG2NW2GC2QJ2JD2QZ24S2CS24S2CV2592IE2IG2752552GI2CC2DY2142512IE2IO27525A142CB25X142CV23W22S2R82QE23W2202402CA22027523W2F52F52DN25Z25G2DP1W2S42S62SD2S92SB2SO2EZ25I2SC2OH2202OK26J2SU26M2342CS2342S32S52142R92142S82SA25S2SU23W2JZ2RX2KD25Z25F2KD21B2NL2D82JT2D02F72SI2F91W25G2JR2TN2FH22W2CS22W2CV2G22TM2F52FJ2SI2FL1W26M26O25Y2TH2U921B2FE2OH2CP2602GT2602K62K82H225K2GT25K2H22HH2HD2HJ2GX26W2GT26W2H226C2GT26C2H226G2GT26G2H22442GT2442H22GS2HD2GV2GX2HC2HE2H223O2GT23O2HO2HQ2H21O2GT1O2H22182GT2182KA27N25G26825Y21B2C52762KP22N2BJ22K2BV26W24G26J21422Y2HV2HT2LS2N52IC2II25O2FD1W28V26D2K02UF27629F2KJ22Z27H21W22222122321V28N28J2KP2F12MC2FP27926727926C2CM2652FD2102WM2822UE2UE2952KG29E28L28N2LG2LI29427922V28G21Y1823021Z21Z22I2I127522K21Z28822I2L927T2KP23C2AQ29W21328W2XW2262XV2XX22Z21W2Y22252242152BH27522P22J22X29L27K2Y122I22V2262YM27922Y27Z2WX21S1823I22122L21W29W2WS2WU2WW2WY2I828J1M2J12CB2LU2752MB2IS2ME2752MP21426X2RV27926A23K2S023K2IZ2J12E721G2P025S2EO2OP2142ID2D023S2CS23S2CV26M31092SI310B2CW2182MV2CP2QN2SI2QP1W25O2JC25I2ER182O02RS2R02R22CV25P21K2N52MO21G2QS2EO25O2QH2OH182P026J310V2RH2SI2RJ310O2142PB2X727525G31132T631152FY25U2822RN2FH2F52D22SI2D426G2EO2EQ2D022G2CS22G2F02WL2JD2Q221W2CS21W2CV310P2D8310R2CK182TZ311B2D02242CS224312C311H214311J2HD311M312F21425O311P311R2SF2D023G2CS23G2CV26C311Z2EO2LW2D02F522S2CS2QC310O2182EZ2672CM2NN2752XB275312W2XE2EH312Z2FH2U425G2U63116313G2EM313J214313L312V2XD21426D28226A22S25Z2TH31472UD2GQ2D02342GT2342HK2HM2H22582GT2582H22H42HD2H62GX24K2GT24K2H224G2GT24G2H22482GT2482VH2VJ2VL2HD2HR2GX23W2GT23W2HB2H0314H2HD2HN21B2AV2XJ2HV2I62BZ2HV2142L12EM2142B12KW2YK29R2752LH2A72152HT22J22L2222C221O2L12KT233299222182XP27522N2XX21V22J22G2WX28T27V27523G2992L927L2YN2142YP2YR2232YT2XX2YW315V2142Y822I2W62HV21G2L12KJ2Y42252262AP2BB316Z2W421T2Z92792WT2922ZC21V2C21A2TZ2I927928M2752WF25Z2662WH2CH2CM2WN2CH2EM2CF2CB2WJ27526I2PL2M72PN1W26X2WI2MM2ZZ2142E231852ET26P318C27526Y23W2S02SE1W2RW2142MD2ZO1C2TZ25S2NS318R26M2F5310E25G310G25G1C2E625I2NU313Q26M24W2CS24W2NM1C2DY3198311K319A2542CS254319F319H2NU102DJ2672O22XB2CB2602CM26121C2CH2ET25G21K2NW2IR26K102PB2O12D02CR2SI2CU2OQ2RQ26B2RS25G102SS2O231AJ2OK25C2O22641C2T325K2NU2FY25K2822TT31392D02202CS2SC2JK31A421426E2IU2382CS238319O2T6319Q319S319U1O31832P225G312X2NY2DP31AA2FH2EX2SI2EZ2OQ1G2N52PD25D318K2HD31262WN311K1C2CU2622NS2642LZ313I314231AX2CK2F22IM2CK2TZ2CN31CH26M102CS2DJ310H2K1318L23C314825F31CR21B26I1G31CS31CX314B31CP2FH25G2GT25G2H22K32HD2K52GX2K72HD2K92GX2UN2HD2UP2HG2HI314Z31512H22702GT2702H22UV2HD2UX21B2KF2HU2XK1N316Z315X28T3160316231643166279316828Q316B2XI214316E22I316G316I316V27U27922T2BA2BC21X2YY2YO2YQ2YS288316X2YX2Y72Y92XZ214317I2WV2WX21V317D2W52X02791D2LR2LT2LV2LX2752JL2ZO317Y2ZS312K2S0312N2D5318E2IQ2MG2IR2ZL31902D031BA2SI31BC1W26W21K28V25I2MI319A31312SI313331FU31FW2T62MI2G6312Q2G826P2IE2CD2OC2JV25Z31CC21431FV31A52CK21O2DY2MW2D0313S2U626X2JH2OT2G826W21O2P025I31GV21O2PB25C2G82NC2TZ2ZP26W31AW2822G231B02FH2IW2SI2IY31G4313G2IR2E8313K2CM31H8313O2ZQ31CL2OT2O22DC28V25W2CP2H62TH314Q2XG2UG2UI2H231D32HD31D52GX31D725G31D926M31DB25G31DD316L31DW28J2I72XN315Y2KT2YI22N2252XY2IB27522G21T2WY1827E182223178317A221317C316R316T31EQ2YU316Y31EU317231EW31EY317K2ZE279192IC31F8313P2ZO2X82EM2NH318S31FF21426I23C2S02OK31FU318E31GW2DY25S31GV319A31BR25G31BT26S2MU2T62G82DW31HC26M2TX2SI2TZ1W31K431FX31K72E3312Q2ET2N82RC2CK21C2O02EV31BI2SI2P031KE2G3312R25O21O2QS31K731BM318F319A2RQ25G2GK31K42P02672G83184313Z2MM314231442D031GT25G2JJ26I315B2TH315B31D02WP2FH2UH2HD2UJ2GX31I425G31I626M31I831IA31IC31DD31IB2UL21B24I31F72CB25E2LV31JL318131JO2IM28V31072FH2482MZ24828U31822OT2IL28225I2822712PQ2EM2D631MF31912MZ23S28U2712II26B2CM31FL31G62ZK319A2582MZ25828U31CF311T2D02542MZ25431N031MT31N731MW2D024G2MZ24G31N031N231N42MF31N62142702DD21426N2CM26X31102OT2IR26T2II25T2FD2GE31GA2OS2PP2CK2IR310Z31GL2OC2G826K28225P2XF2J42J631NY31O031FB3136310027525Z311Z31GT25K2G82ZP2ZP25H31OY2G825Q2ON2M72OP26421K2T32MH2CK31012JD2JF1G2MZ1G28U26031OA27525W2P225P2P2260311726K1S31A92FW2FH102MZ1031PL1O2TZ25I31PS31L32MZ316B1W2601O2SS31Q731K921C2MZ21C31Q331852P231PV2SX31PY26M21K2MZ21K28U26131GF25T282264182DP26C2RS31HK31LC2D02182MZ21828U26K1W311A2Q22142MZ28N31QB31PN21431PP2OC31PS31PU1S2T326J31QP2602CS2CD1W26131KR26B2P225W28225R28225S2P225K31S01W2Q12D025K2CS2IO1W24K31RJ24G2F92EP31SJ24K31PU22O31A92EZ2FH26W2CS2G231SF2302DP25I31SL319A2682CS31ME24K230312431SY27524K319A26G2CS2LW31SV318531SJ26K22O2SX31SQ26M2402CS2SA1W26C31SW2T631SJ2CD2U22D02482CS2482ZY31K92Q42SI2Q631TP319A2ZV2SI2ZX2U731U725G31U925Q21G31CS31UF21B2ZL25J31F931K9310L25G310N27131O325T31A62FB2CM2712U425K2PJ2JQ31K924K2CS31T91W27131GT25T31OJ2EM25P2EM27131KB25K31CH27131A025Z25T2ET31RB2OC31VC2TP25K31SJ27121G2CB25T2ER31VA31VC31BR25K31SQ2712RQ25T2RS31VM2EP31VC313B31GG2QE31I02D022S2VW22S2VZ26M2242VW22431WH23S2GT23S2H22502GT2502H222K2VW22K31WH2VS2HD2VU2GX2142GT2142H225W2VW25W31WH25S2VW25S31WH2642VW26431WH2242GT2242H22202GT2202H22382GT2382H223C2GT31CU26M22S2GT314A2EW2GT22O2H22302GT2302H222W2GT22W2H231X32HD31X52GX23G2GT23G31XU31XW31YL2HD31XX31XJ2HD31XL2GX24W2GT24W2GW');local o=bit and bit.bxor or function(l,e)local n,o=1,0 while l>0 and e>0 do local c,C=l%2,e%2 if c~=C then o=o+n end l,e,n=(l-c)/2,(e-C)/2,n*2 end if l<e then l=e end while l>0 do local e=l%2 if e>0 then o=o+n end l,n=(l-e)/2,n*2 end return o end local function n(e,l,n)if n then local l=(e/2^(l-1))%2^((n-1)-(l-1)+1);return l-l%1;else local l=2^(l-1);return(e%(l+l)>=l)and 1 or 0;end;end;local l=1;local function e()local c,n,C,e=t(c,l,l+3);c=o(c,40)n=o(n,40)C=o(C,40)e=o(e,40)l=l+4;return(e*16777216)+(C*65536)+(n*256)+c;end;local function a()return e()*4294967296+e();end;local function a()local e=o(t(c,l,l),40);l=l+1;return e;end;local function i()local l=e();local e=e();local C=1;local o=(n(e,1,20)*(2^32))+l;local l=n(e,21,31);local e=((-1)^n(e,32));if(l==0)then if(o==0)then return e*0;else l=1;C=0;end;elseif(l==2047)then return(o==0)and(e*(1/0))or(e*(0/0));end;return f(e,l-1023)*(C+(o/(2^52)));end;local f=e;local function S(e)local n;if(not e)then e=f();if(e==0)then return;end;end;n=C(c,l,l+e-2);l=l+e-1;local e={}for l=1,#n do e[l]=d(o(t(C(n,l,l)),40))end return H(e);end;local l=e;local function W()local t={};local d={};local G={};local l={};local c={};c[1]=t;c[2]=G;c[3]=d;c[7]=l;for n=1,e()do local e=a();local l;if(e==2)then l=(a()~=0);elseif(e==3)then l=i();elseif(e==1)then l=C(S(),1,-1);end;G[n-1]=l;end;c[6]=a();c[5]=a();for l=1,e()do d[l-1]=W();end;for a=1,e()do local C=o(e(),196);local e=o(e(),224);local o=n(C,1,2);local c=n(e,1,10);local l={};l[1]=c;l[5]=e;l[2]=n(C,3,10);if(o==0)then l[3]=n(C,11,19);l[4]=n(C,20,28);elseif(o==1)then l[3]=n(e,11,28);elseif(o==2)then l[3]=n(e,11,28)-131071;end;t[a]=l;end;return c;end;local function t(...)local l={...};return l,#l end;local function i(l,f,S)local a=l[1];local c=l[2];local W=l[3];local H=l[6];return function(...)local n=1;local o=-1;local h={};local C={...};local l=#C-1;local d={};local e={};for l=0,l do if(l>=H)then h[l-H]=C[l+1];else e[l]=C[l+1];end;end;local l;local C;while true do l=a[n];C=l[1];if C<=22 then if C<=10 then if C<=4 then if C<=1 then if C>0 then local n=l[2];if n>o then o=n end;e[n]=e[l[3]]-e[l[4]];else S[c[l[3]]]=e[l[2]];end;elseif C<=2 then local c=l[2];if c>o then o=c end;e[c]=f[l[3]];n=n+1;l=a[n];C=l[1];local c=l[2];if c>o then o=c end;e[c]=e[l[3]];n=n+1;l=a[n];C=l[1];local d;local c=l[2];local a={};local n=0;local C=c+l[3]-1;for l=c+1,C do n=n+1;a[n]=e[l];end;d,C=t(e[c](G(a,1,C-c)));C=c+l[4]-2;n=0;for l=c,C do n=n+1;e[l]=d[n];end;o=C;elseif C>3 then local n=l[2];if n>o then o=n end;e[n]=c[l[3]];else local n=l[2];if n>o then o=n end;e[n]=e[l[3]]+e[l[4]];end;elseif C<=7 then if C<=5 then local n=l[2];if n>o then o=n end;e[n]=e[l[3]];elseif C>6 then local c=l[2];if c>o then o=c end;e[c]=e[l[3]];n=n+1;l=a[n];C=l[1];local c=l[2];if c>o then o=c end;e[c]=e[l[3]];n=n+1;l=a[n];C=l[1];local a;local C=l[2];local d={};local n=0;local c=C+l[3]-1;for l=C+1,c do n=n+1;d[n]=e[l];end;a,c=t(e[C](G(d,1,c-C)));c=C+l[4]-2;n=0;for l=C,c do n=n+1;e[l]=a[n];end;o=c;else local G=l[2];if G>o then o=G end;e[G]=S[c[l[3]]];n=n+1;l=a[n];C=l[1];local c=l[2];if c>o then o=c end;e[c]=e[l[3]];n=n+1;l=a[n];C=l[1];for l=l[2],l[3]do e[l]=nil;end;end;elseif C<=8 then local d=l[2];local S=e[l[3]];e[d+1]=S;e[d]=S[c[l[4]]];if d+1>o then o=d+1 end;n=n+1;l=a[n];C=l[1];local d=l[2];if d>o then o=d end;e[d]=e[l[3]][c[l[4]]];n=n+1;l=a[n];C=l[1];local d;local c=l[2];local a={};local n=0;local C=c+l[3]-1;for l=c+1,C do n=n+1;a[n]=e[l];end;d,C=t(e[c](G(a,1,C-c)));C=c+l[4]-2;n=0;for l=c,C do n=n+1;e[l]=d[n];end;o=C;elseif C>9 then local t=W[l[3]];local H;if t[5]~=0 then local l={};H=K({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,n,e)local l=l[n]l[1][l[2]]=e;end;});for o=1,t[5]do n=n+1;local n=a[n];if n[1]==5 then l[o-1]={e,n[3]};else l[o-1]={f,n[3]};end;d[#d+1]=l;end;end;local G=l[2];if G>o then o=G end;e[G]=i(t,H,S);n=n+1;l=a[n];C=l[1];for l=l[2],l[3]do e[l]=nil;end;n=n+1;l=a[n];C=l[1];local n=l[2];if n>o then o=n end;e[n]=S[c[l[3]]];else local G=l[2];if G>o then o=G end;e[G]=c[l[3]];n=n+1;l=a[n];C=l[1];local G=l[2];if G>o then o=G end;e[G]=f[l[3]];n=n+1;l=a[n];C=l[1];local G=l[2];if G>o then o=G end;e[G]=#e[l[3]];n=n+1;l=a[n];C=l[1];local n=l[2];if n>o then o=n end;e[n]=c[l[3]];end;elseif C<=16 then if C<=13 then if C<=11 then local o=l[2];local c=e[o+2];local C=e[o]+c;e[o]=C;if c>0 then if C<=e[o+1]then n=n+l[3];e[o+3]=C;end;elseif C>=e[o+1]then n=n+l[3];e[o+3]=C;end;elseif C>12 then local o=l[2];local c=l[4];local l=o+2;local C={e[o](e[o+1],e[l])};for n=1,c do e[l+n]=C[n];end;local o=e[o+3];if o then e[l]=o else n=n+1;end;else n=n+l[3];end;elseif C<=14 then local n=l[2];if n>o then o=n end;e[n]=e[l[3]][c[l[4]]];elseif C>15 then local G=l[2];if G>o then o=G end;e[G]=c[l[3]];n=n+1;l=a[n];C=l[1];local n=l[2];if n>o then o=n end;e[n]=c[l[3]];else local c=l[2];local o={};for l=1,#d do local l=d[l];for n=0,#l do local l=l[n];local C=l[1];local n=l[2];if C==e and n>=c then o[n]=C[n];l[1]=o;end;end;end;end;elseif C<=19 then if C<=17 then local n=l[2];if n>o then o=n end;e[n]=e[l[3]]%c[l[4]];elseif C>18 then if(e[l[3]]<e[l[4]])then n=n+1;end;else local d=l[2];local S=e[l[3]];e[d+1]=S;e[d]=S[c[l[4]]];if d+1>o then o=d+1 end;n=n+1;l=a[n];C=l[1];local c=l[2];if c>o then o=c end;e[c]=(l[3]~=0);n=n+1;l=a[n];C=l[1];local a;local n=l[2];local c={};local C=0;local l=n+l[3]-1;for l=n+1,l do C=C+1;c[C]=e[l];end;a,l=t(e[n](G(c,1,l-n)));o=n-1;end;elseif C<=20 then for l=l[2],l[3]do e[l]=nil;end;elseif C>21 then local G=l[2];if G>o then o=G end;e[G]=c[l[3]];n=n+1;l=a[n];C=l[1];local G=l[2];if G>o then o=G end;e[G]=c[l[3]];n=n+1;l=a[n];C=l[1];local n=l[2];if n>o then o=n end;e[n]=c[l[3]];else local n=l[2];if n>o then o=n end;e[n]=(l[3]~=0);end;elseif C<=34 then if C<=28 then if C<=25 then if C<=23 then local n=l[2];local C=e[l[3]];e[n+1]=C;e[n]=C[c[l[4]]];if n+1>o then o=n+1 end;elseif C>24 then local C=W[l[3]];local c;if C[5]~=0 then local l={};c=K({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,n,e)local l=l[n]l[1][l[2]]=e;end;});for o=1,C[5]do n=n+1;local n=a[n];if n[1]==5 then l[o-1]={e,n[3]};else l[o-1]={f,n[3]};end;d[#d+1]=l;end;end;local l=l[2];if l>o then o=l end;e[l]=i(C,c,S);else local n=l[2];if n>o then o=n end;e[n]=e[l[3]][e[l[4]]];end;elseif C<=26 then local a;local c=l[2];local d={};local n=0;local C=c+l[3]-1;for l=c+1,C do n=n+1;d[n]=e[l];end;a,C=t(e[c](G(d,1,C-c)));C=c+l[4]-2;n=0;for l=c,C do n=n+1;e[l]=a[n];end;o=C;elseif C>27 then local l=l[2];e[l]();o=l-1;else local n=l[2];if n>o then o=n end;e[n]=e[l[3]]/c[l[4]];end;elseif C<=31 then if C<=29 then local o=l[2];e[o]=e[o]-e[o+2];n=n+l[3];elseif C>30 then for l=l[2],l[3]do e[l]=nil;end;n=n+1;l=a[n];C=l[1];local G=l[2];if G>o then o=G end;e[G]=c[l[3]];n=n+1;l=a[n];C=l[1];local G=l[2];if G>o then o=G end;e[G]=#e[l[3]];n=n+1;l=a[n];C=l[1];local n=l[2];if n>o then o=n end;e[n]=c[l[3]];else local o=l[2];local C=o+l[3]-2;local n={};local l=0;for o=o,C do l=l+1;n[l]=e[o];end;do return G(n,1,l)end;end;elseif C<=32 then if(e[l[3]]~=e[l[4]])then n=n+1;end;elseif C>33 then local n=l[2];if n>o then o=n end;e[n]=#e[l[3]];else if not e[l[2]]then n=n+1;end;end;elseif C<=40 then if C<=37 then if C<=35 then if(e[l[3]]==c[l[4]])then n=n+1;end;elseif C>36 then local n=l[2];if n>o then o=n end;e[n]=e[l[3]]*c[l[4]];else do return end;end;elseif C<=38 then if e[l[2]]then n=n+1;end;elseif C>39 then local n=l[2];if n>o then o=n end;e[n]=e[l[3]]+c[l[4]];else local C=l[2];local c,n=t(e[C]());n=C+l[4]-2;local l=0;for n=C,n do l=l+1;e[n]=c[l];end;o=n;end;elseif C<=43 then if C<=41 then local n=l[2];if n>o then o=n end;e[n]=f[l[3]];elseif C>42 then local n=l[2];if n>o then o=n end;e[n]=S[c[l[3]]];else if(c[l[3]]<e[l[4]])then n=n+1;end;end;elseif C<=44 then e[l[2]][c[l[3]]]=e[l[4]];elseif C>45 then if(e[l[3]]~=c[l[4]])then n=n+1;end;else local a;local n=l[2];local c={};local C=0;local l=n+l[3]-1;for l=n+1,l do C=C+1;c[C]=e[l];end;a,l=t(e[n](G(c,1,l-n)));o=n-1;end;n=n+1;end;end;end;return i(W(),{},D())();
  299. end)
  300. end
  301. wait(0.5)
  302.  
  303. --utilities
  304. local windowFocused = false
  305. game:GetService("UserInputService").WindowFocused:Connect(function() windowFocused=true end)
  306. game:GetService("UserInputService").WindowFocusReleased:Connect(function() windowFocused=false end)
  307. spawn(function()
  308. game:GetService("UserInputService").InputBegan:Wait()
  309. windowFocused=true
  310. end)
  311.  
  312. local function keyclick(num)
  313. if windowFocused and keypress and keyrelease then
  314. keypress(num)
  315. wait()
  316. keyrelease(num)
  317. end
  318. end
  319. local function punch()
  320. if punchEvent then
  321. punchEvent()
  322. elseif windowFocused then
  323. keyclick(0x46)
  324. end
  325. end
  326. local function exitVehicle()
  327. if humanoid.Sit then
  328. keyclick(0x20)
  329. wait(0.07)
  330. humanoid.Jump=true
  331. wait(0.3)
  332. end
  333. end
  334.  
  335. local function smoothTP(cf,seconds)
  336. if abort then return end
  337. noclip()
  338. root.CFrame = root.CFrame + Vector3.new(0,100-root.CFrame.y,0) --start high up
  339. root.Velocity,root.RotVelocity=v30,v30
  340. local oldg = workspace.Gravity
  341. workspace.Gravity=0
  342. wait(0.07)
  343. local diff = cf.p-root.Position
  344. local customSpeed
  345. if seconds then
  346. customSpeed = diff.magnitude / seconds
  347. end
  348. while abort==false and diff.magnitude > safeMove do
  349. if customSpeed then
  350. root.Velocity = diff.Unit*customSpeed
  351. else
  352. root.Velocity = diff.Unit*math.min(diff.magnitude*5,5000)
  353. end
  354. root.RotVelocity = v30
  355. if root:FindFirstChild("BodyVelocity") then
  356. root.BodyVelocity:Destroy()
  357. end
  358. humanoid.Jump=true
  359. wait(0.1)
  360. diff = cf.p-root.Position
  361. end
  362. wait(0.1)
  363. for i=1,2 do
  364. if abort then break end
  365. root.Velocity,root.RotVelocity=v30,v30
  366. root.CFrame = cf
  367. wait(0.1)
  368. end
  369. yesclip()
  370. workspace.Gravity=oldg
  371. end
  372. local function perfectTP(cf)
  373. if abort then return end
  374. root.CFrame = cf
  375. local door = workspace.Apartments.Skyscraper6.ExitDoor.Touch
  376. local oldcf = door.CFrame
  377. door.CFrame = root.CFrame
  378. wait()
  379. door.CFrame = oldcf
  380. end
  381. local function staticTP(cf)
  382. local oldg = workspace.Gravity
  383. workspace.Gravity=0
  384. repeat
  385. for i=1,10 do
  386. if abort then break end
  387. root.CFrame=cf
  388. root.Velocity,root.RotVelocity=v30,v30
  389. wait(0.2)
  390. end
  391. if abort then break end
  392. until wait(0.39) and (root.Position-cf.p).magnitude<10
  393. workspace.Gravity=oldg
  394. end
  395. local function variousTP(cf)
  396. if settings.preferLongTP then
  397. staticTP(cf)
  398. else
  399. perfectTP(cf)
  400. end
  401. end
  402.  
  403. local function isBagFull()
  404. return player.PlayerGui.MainGui.CollectMoney.Visible==false or strToNum(player.PlayerGui.MainGui.CollectMoney.Money.Text)+1 >= strToNum(player.PlayerGui.MainGui.CollectMoney.Maximum.Text)
  405. end
  406.  
  407. --get some buildings
  408. for _,part in ipairs(workspace.Buildings:GetChildren()) do
  409. if (part.Position-Vector3.new(-302.6,30.3,1431.9)).magnitude < 1 then
  410. part.CanCollide=false
  411. end
  412. end
  413. for _,part in ipairs(workspace.Jewelrys:GetChildren()[1].Building:GetChildren()) do
  414. if part.Name=="Part" and (part.Position-Vector3.new(157.8,63.4,1336.6)).magnitude < 1 then
  415. part.CanCollide = false
  416. end
  417. end
  418.  
  419. local vault
  420. local function isVaultOpen()
  421. return (vault.Door.Closed.CFrame.lookVector - vault.Door.Hinge.CFrame.lookVector).magnitude > 0.1
  422. end
  423. local function copsTooClose(radius)
  424. local players = game:GetService("Teams").Police:GetPlayers()
  425. for i=1,#players do
  426. local p = players[i]
  427. if p.Character and p.Character:FindFirstChild("HumanoidRootPart") and p.Character:FindFirstChild("Humanoid") then
  428. local rootp = p.Character.HumanoidRootPart.Position
  429. if (vault.Door.Hinge.Position - rootp).magnitude < radius and p.Character.Humanoid.Health>0 and workspace:FindPartOnRayWithWhitelist(Ray.new(rootp,vault.TriggerDoor.Position - vault.Door.Hinge.CFrame.lookVector*3 - rootp),{vault.Decoration,vault.Parent.Parent.TopFloor})==nil then
  430. return true
  431. end
  432. end
  433. end
  434. return false
  435. end
  436.  
  437. local museumArray = { {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},
  438. {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},
  439. {CFrame.new(1038.8,101.7,1238.7),workspace.Museum.EgyptionCase.Mask},{CFrame.new(1105.3,101.7,1151),workspace.Museum.JewelCase.Jewel} }
  440.  
  441. local function jailbreak()
  442. if player.Team.Name=="Prisoner" then
  443. --jailbreak :^)
  444. stprint("Breaking out...")
  445. variousTP(CFrame.new(-1609,110,-1574))
  446. local elapsed=0
  447. while abort==false and player.Team.Name=="Prisoner" and elapsed<3 do
  448. elapsed=elapsed+wait(0.3)
  449. end
  450. end
  451. end
  452.  
  453. local isTrainOpen = workspace.Trains:FindFirstChild("SteamEngine")~=nil
  454. local current_boxcar
  455. for _,child in ipairs(workspace.Trains:GetChildren()) do
  456. if child.Name=="BoxCar" and child:FindFirstChild("Gold",true) then
  457. current_boxcar = child
  458. break
  459. end
  460. end
  461. workspace.Trains.ChildAdded:Connect(function(child)
  462. wait(1)
  463. if current_boxcar==nil and child.Name=="BoxCar" and child.Model.Rob:FindFirstChild("Gold") then
  464. current_boxcar = child
  465. end
  466. if child.Name=="SteamEngine" then
  467. isTrainOpen = true
  468. end
  469. trainLbl.TextColor3 = (current_boxcar or isTrainOpen) and green or Color3.new(1,1,1)
  470. end)
  471. workspace.Trains.ChildRemoved:Connect(function(child)
  472. if current_boxcar == child then
  473. current_boxcar = nil
  474. elseif child.Name=="SteamEngine" then
  475. isTrainOpen = false
  476. end
  477. trainLbl.TextColor3 = (current_boxcar or isTrainOpen) and green or Color3.new(1,1,1)
  478. end)
  479. trainLbl.TextColor3 = (current_boxcar or isTrainOpen) and green or Color3.new(1,1,1)
  480.  
  481. local airdrops = {}
  482. local function checkNewDrop(child)
  483. local briefcase = child:WaitForChild("Briefcase",2)
  484. if briefcase then
  485. local e=0
  486. while true do
  487. e=e+wait(0.25)
  488. local hitpart = workspace:FindPartOnRayWithIgnoreList(Ray.new(briefcase.Position,Vector3.new(0,-17,0)),{child},false,true)
  489. if e>25 or (hitpart and hitpart.CanCollide) or child:FindFirstChild("Parachute")==nil then
  490. break
  491. end
  492. end
  493. if child.Parent and briefcase.Parent then
  494. airdrops[#airdrops+1]=child
  495. airdropLbl.TextColor3 = green
  496. end
  497. end
  498. end
  499. for _,child in ipairs(workspace:GetChildren()) do
  500. if child.Name=="Drop" and child.ClassName=="Model" then
  501. spawn(function() checkNewDrop(child) end)
  502. end
  503. end
  504. workspace.ChildAdded:Connect(function(child)
  505. if child.Name=="Drop" and child.ClassName=="Model" then
  506. checkNewDrop(child)
  507. end
  508. end)
  509. workspace.ChildRemoved:Connect(function(child)
  510. if child.Name=="Drop" and child.ClassName=="Model" then
  511. for i=1,#airdrops do
  512. if airdrops[i]==child then
  513. table.remove(airdrops,i)
  514. airdropLbl.TextColor3 = #airdrops>0 and green or Color3.new(1,1,1)
  515. break
  516. end
  517. end
  518. end
  519. end)
  520.  
  521. local bankSign = workspace.Banks:GetChildren()[1].Extra.Sign.Decal
  522. local jewlSign = workspace.Jewelrys:GetChildren()[1].Extra.Sign.Decal
  523. local museumPart = workspace.Museum.Roof.Hole.Part
  524. local isBankOpen = bankSign.Transparency>0.01
  525. local isJewlOpen = jewlSign.Transparency>0.01
  526. local isMuseumOpen = not museumPart.CanCollide
  527. local isBankCalm = #workspace.Ringers.Bank:GetChildren()==0
  528. local isJewlCalm = #workspace.Ringers.Jewelry:GetChildren()==0
  529. local cancel=false
  530. bankSign:GetPropertyChangedSignal("Transparency"):Connect(function()
  531. wait()
  532. isBankOpen = bankSign.Transparency>0.01
  533. bankLbl.TextColor3 = isBankOpen and green or Color3.new(1,1,1)
  534. if not isBankOpen then
  535. isBankCalm=true
  536. end
  537. end)
  538. jewlSign:GetPropertyChangedSignal("Transparency"):Connect(function()
  539. wait()
  540. isJewlOpen = jewlSign.Transparency>0.01
  541. jewelryLbl.TextColor3 = isJewlOpen and green or Color3.new(1,1,1)
  542. if not isJewlOpen then
  543. isJewlCalm=true
  544. end
  545. end)
  546. museumPart:GetPropertyChangedSignal("CanCollide"):Connect(function()
  547. wait()
  548. isMuseumOpen = not museumPart.CanCollide
  549. museumLbl.TextColor3 = isMuseumOpen and green or Color3.new(1,1,1)
  550. end)
  551. bankLbl.TextColor3 = isBankOpen and green or Color3.new(1,1,1)
  552. jewelryLbl.TextColor3 = isJewlOpen and green or Color3.new(1,1,1)
  553. museumLbl.TextColor3 = isMuseumOpen and green or Color3.new(1,1,1)
  554.  
  555. workspace.Ringers.Bank.ChildAdded:Connect(function() isBankCalm=false end)
  556. workspace.Ringers.Jewelry.ChildAdded:Connect(function() isJewlCalm=false end)
  557. --rob funcs
  558. function robJewelry()
  559. if humanoid==nil or humanoid.Health<1 then wait(5) end
  560. toggleCanAbort(true)
  561. warnFlash("Jewelry")
  562. if abort or not settings.enabled then cancel=true return end
  563. exitVehicle()
  564. local formerCF = root.CFrame
  565. jailbreak()
  566. stprint("TPing to jewelry...")
  567. variousTP(CFrame.new(156.8, 17.6, 1329.8))
  568. if abort then cancel=true return end
  569. --enter
  570. if RNG:NextInteger(1,2)==1 then
  571. root.CFrame = CFrame.new(142.17, 17.88, 1351.08)
  572. else
  573. root.CFrame = CFrame.new(89.7, 17.88, 1302.53)*CFrame.Angles(0,math.pi/-2,0)
  574. end
  575. wait(0.5)
  576. if settings.jewlAllowCrims and isJewlCalm then
  577. root.CFrame = CFrame.new(156.8, 17.6, 1329.8)
  578. for i=1,10 do
  579. if isJewlCalm and not abort then wait(0.5) end
  580. end
  581. end
  582. screnv.tick = function() return 0/0 end
  583. stprint("Robbery started!")
  584. local broke = 0
  585. --get jewels
  586. local boxes = workspace.Jewelrys:GetChildren()[1].Boxes:GetChildren()
  587. for i = #boxes, 2, -1 do --shuffle
  588. local j = RNG:NextInteger(1, i)
  589. boxes[j], boxes[i] = boxes[i], boxes[j]
  590. end
  591. for i=1,#boxes do
  592. local box = boxes[i]
  593. if abort or (broke>3 and isBagFull()) then
  594. --duffel bag full
  595. break
  596. end
  597.  
  598. if box.Transparency < 0.9 then
  599. if box.Position.X < 120 and box.Position.Z > 1330 then
  600. root.CFrame = CFrame.new(box.Position+box.CFrame.lookVector*2.5+Vector3.new(0,0,-2.5),box.Position)
  601. elseif box.Position.Z < 1309 and box.Position.Z > 1304 then
  602. root.CFrame = CFrame.new(box.Position+box.CFrame.lookVector*2.5+Vector3.new(0,0,2.5),box.Position)
  603. else
  604. root.CFrame = CFrame.new(box.Position+box.CFrame.lookVector*2.5,box.Position)
  605. end
  606. wait(0.2)
  607. local hits = 0
  608. while abort==false and hits<4 and box.Transparency<0.9 do
  609. punch()
  610. hits=hits+1
  611. wait(0.05)
  612. end
  613. broke=broke+1
  614. wait(0.2)
  615. end
  616. end
  617. screnv.tick=tick
  618. if not abort then root.CFrame = CFrame.new(156.8, 17.6, 1329.8) end
  619. wait(0.5)
  620. stprint("Escaping...")
  621. variousTP(CFrame.new(-365.3, 35.52, 1578.5))
  622. for i=1,3 do
  623. if not abort then wait(0.5) end
  624. end
  625. if settings.preferUnsafeEsc then
  626. variousTP(formerCF)
  627. else
  628. variousTP(CFrame.new(-303+RNG:NextNumber(-3,3),17.4,1430))
  629. end
  630. end
  631.  
  632. function robBank()
  633. if humanoid==nil or humanoid.Health<1 then wait(5) end
  634. toggleCanAbort(true)
  635. warnFlash("Bank")
  636. if abort or not settings.enabled then cancel=true return end
  637. exitVehicle()
  638. local formerCF = root.CFrame
  639. jailbreak()
  640. stprint("TPing to bank...")
  641. variousTP(CFrame.new(23.6, 18.07, 853.5))
  642. if abort then cancel=true return end
  643. wait(0.3)
  644. for i=1,3 do
  645. if isBankCalm and abort==false then wait(0.5) end
  646. end
  647. stprint("Opening vault...")
  648. vault = workspace.Banks:GetChildren()[1].Layout:GetChildren()[1]
  649. local vaultcf = vault.Door.Hinge.CFrame
  650. variousTP(vaultcf + vaultcf.lookVector*-3 + vaultcf.rightVector*6)
  651. wait(0.5)
  652. if abort then return end
  653. --gets in vault
  654. if (vaultcf.p - vault.Money.CFrame.p).magnitude < 30 then
  655. if vault.Name=="TheMint" then
  656. root.CFrame = vaultcf + vaultcf.lookVector*3 + vaultcf.rightVector*-3
  657. else
  658. root.CFrame = vaultcf + vaultcf.lookVector*3 + vaultcf.rightVector*-5.5
  659. end
  660. else
  661. if vault:FindFirstChild("Lasers") then
  662. for _,laser in ipairs(vault.Lasers:GetChildren()) do
  663. if laser.Name=="LaserTrack" then
  664. laser:Destroy()
  665. end
  666. end
  667. end
  668. root.CFrame = vault.Money.CFrame
  669. end
  670. --wait until open
  671. local elapsed=0
  672. while abort==false and isBankOpen==true and isVaultOpen()==false do
  673. elapsed=elapsed+wait(.1)
  674. end
  675. elapsed = 0
  676. while abort==false and isBankOpen==true and (not (isVaultOpen() and copsTooClose(settings.bankRadius2))) and elapsed<6 do
  677. elapsed=elapsed+wait(.1)
  678. end
  679. if not abort then
  680. if (vaultcf.p - vault.Money.CFrame.p).magnitude < 30 then
  681. if vault.Name=="TheMint" then
  682. root.CFrame = vaultcf + vaultcf.lookVector*3 + vaultcf.rightVector*-3
  683. else
  684. root.CFrame = vaultcf + vaultcf.lookVector*3 + vaultcf.rightVector*-5.5
  685. end
  686. else
  687. root.CFrame = vault.Money.CFrame
  688. end
  689. end
  690. stprint("Robbery started!")
  691. --wait for bag to fill or player leaves
  692. while abort==false and isBagFull()==false and (not (isVaultOpen() and copsTooClose(settings.bankRadius2))) and elapsed<70 do
  693. elapsed=elapsed+wait(.1)
  694. end
  695. stprint("Escaping...")
  696. if settings.preferUnsafeEsc then
  697. variousTP(formerCF)
  698. else
  699. variousTP(CFrame.new(-303+RNG:NextNumber(-3,3),17.4,1430))
  700. end
  701. end
  702.  
  703. function robBoxcar()
  704. if humanoid==nil or humanoid.Health<1 then wait(5) end
  705. toggleCanAbort(true)
  706. warnFlash("Train")
  707. if abort or not settings.enabled then cancel=true return end
  708. local gold = current_boxcar.Model.Rob.Gold
  709. local trainFront = workspace.Trains.LocomotiveFront.Model.Front
  710. --tp
  711. exitVehicle()
  712. local formerCF = root.CFrame
  713. jailbreak()
  714. stprint("TPing to train...")
  715. variousTP(gold.CFrame+gold.CFrame.rightVector*14)
  716. while (root.Position-gold.Position).magnitude > safeMove and abort==false do
  717. smoothTP(gold.CFrame+gold.CFrame.rightVector*14)
  718. end
  719. if abort then
  720. cancel=true
  721. return
  722. end
  723. if current_boxcar.Parent then
  724. local elapsed
  725. if boxcarEvent then
  726. boxcarEvent(current_boxcar)
  727. wait(0.1)
  728. else
  729. stprint("Opening door...")
  730. --open door
  731. if not abort then
  732. stepconn = Stepped:Connect(function()
  733. root.CFrame = current_boxcar.Skeleton.RoofDoorClosed.CFrame + Vector3.new(0,-5,0)
  734. root.Velocity,root.RotVelocity=v30,v30
  735. end)
  736. wait(0.5)
  737. HOLD_E = true
  738. elapsed=0
  739. while abort==false and elapsed<9 and (current_boxcar.Skeleton.RoofDoor.Position-current_boxcar.Skeleton.RoofDoorClosed.Position).Magnitude < 1 do
  740. elapsed=elapsed+wait(0.3)
  741. end
  742. stepconn:Disconnect()
  743. wait()
  744. end
  745. HOLD_E = false
  746. stprint("Opening vault...")
  747. --open vault
  748. if not abort then
  749. stepconn = Stepped:Connect(function()
  750. root.CFrame = gold.CFrame+(gold.CFrame.lookVector*4.5)
  751. root.Velocity,root.RotVelocity=v30,v30
  752. end)
  753. wait(0.5)
  754. HOLD_E = true
  755. elapsed=0
  756. while abort==false and elapsed<9 and current_boxcar.Skeleton.Vault.Part.RotVelocity.Magnitude < .001 do
  757. elapsed=elapsed+wait(0.3)
  758. end
  759. stepconn:Disconnect()
  760. wait(0.2)
  761. end
  762. HOLD_E = false
  763. end
  764. elapsed=0
  765. stprint("Robbery started!")
  766. --get gold
  767. if not abort then
  768. stepconn = Stepped:Connect(function()
  769. root.CFrame = gold.CFrame+(gold.CFrame.lookVector*3)
  770. root.Velocity,root.RotVelocity=v30,v30
  771. end)
  772. while abort==false and (not(elapsed>6 and isBagFull())) and trainFront.Position.X > -1584 and elapsed<65 do
  773. elapsed=elapsed+wait(0.3)
  774. end
  775. stepconn:Disconnect()
  776. if trainFront.Position.X < -1200 and trainFront.Position.Z < 550 then
  777. --boxcars={}
  778. end
  779. end
  780. end
  781. stprint("Escaping...")
  782. if settings.preferUnsafeEsc then
  783. variousTP(formerCF)
  784. else
  785. variousTP(CFrame.new(-303+RNG:NextNumber(-3,3),17.4,1430))
  786. end
  787. end
  788.  
  789. function robMuseum()
  790. if humanoid==nil or humanoid.Health<1 then wait(5) end
  791. toggleCanAbort(true)
  792. warnFlash("Museum")
  793. if abort or not settings.enabled then cancel=true return end
  794. exitVehicle()
  795. local formerCF = root.CFrame
  796. jailbreak()
  797. stprint("TPing to museum...")
  798. --tp inside
  799. variousTP(CFrame.new(1067.8,102.8,1193.8))
  800. wait(0.5)
  801. if abort then cancel=true return end
  802. --collect artifacts
  803. stprint("Robbery started!")
  804. if museumEvent then
  805. museumEvent()
  806. else
  807. local bag = player.PlayerGui.MainGui.MuseumBag.TextLabel
  808. bag.Text = "9".. bag.Text:sub(2)
  809. for i=1,#museumArray do
  810. local tpcf = museumArray[i][1]
  811. local part = museumArray[i][2]
  812. if part.Transparency < .99 then
  813. if abort or isMuseumOpen==false or bag.Text:sub(1,1) == bag.Text:sub(5,5) then
  814. break
  815. end
  816. root.CFrame = tpcf
  817. wait(0.2)
  818. HOLD_E = true
  819. local elapsed=0
  820. while abort==false and part.Transparency < .99 and elapsed<9 do
  821. root.CFrame = tpcf
  822. elapsed=elapsed+wait(0.3)
  823. end
  824. HOLD_E = false
  825. wait(0.1)
  826. end
  827. end
  828. end
  829. local t0=tick()
  830. if settings.preferUnsafeEsc then
  831. variousTP(formerCF)
  832. elseif not abort then
  833. variousTP(CFrame.new(-303+RNG:NextNumber(-3,3),17.4,1430))
  834. end
  835. stprint("Bypassing by waiting...")
  836. --smoothTP(CFrame.new(1695.7,75.6,-1848.3),15)
  837. while abort==false and tick()-t0 < 16 do
  838. wait(0.3)
  839. end
  840. exitVehicle()
  841. formerCF = root.CFrame
  842. --tp to collector
  843. stprint("Selling...")
  844. variousTP(CFrame.new(1639,50,-1800))
  845. for i=1,3 do
  846. if not abort then wait(0.5) end
  847. end
  848. stprint("Escaping...")
  849. if settings.preferUnsafeEsc then
  850. variousTP(formerCF)
  851. elseif not abort then
  852. root.CFrame = CFrame.new(1695.7+RNG:NextNumber(-3,3),75.6,-1848.3)
  853. end
  854. end
  855.  
  856. function robSteamEngine()
  857. if humanoid==nil or humanoid.Health<1 then wait(5) end
  858. toggleCanAbort(true)
  859. warnFlash("Steam engine")
  860. if abort or not settings.enabled then cancel=true return end
  861. exitVehicle()
  862. local formerCF = root.CFrame
  863. jailbreak()
  864. --collect items and tp to volcano
  865. stprint("Robbery started!")
  866. spawn(steamEngineEvent)
  867. local t0=tick()
  868. local elapsed = 0
  869. --smoothTP(CFrame.new(1695.7,75.6,-1848.3),10.2)
  870. while abort==false and elapsed < 10.2 do
  871. elapsed=elapsed+wait(0.3)
  872. end
  873. exitVehicle()
  874. formerCF = root.CFrame
  875. stprint("Selling...")
  876. --tp to collector
  877. --if not abort then root.CFrame = CFrame.new(1643,50,-1800) end
  878. variousTP(CFrame.new(1639,50,-1800))
  879. for i=1,3 do
  880. if not abort then wait(0.5) end
  881. end
  882. stprint("Escaping...")
  883. if settings.preferUnsafeEsc then
  884. variousTP(formerCF)
  885. elseif not abort then
  886. root.CFrame = CFrame.new(1695.7+RNG:NextNumber(-3,3),75.6,-1848.3)
  887. end
  888. end
  889.  
  890. function robAirdrop()
  891. if humanoid==nil or humanoid.Health<1 then wait(5) end
  892. toggleCanAbort(true)
  893. warnFlash("Airdrop")
  894. if abort or not settings.enabled then cancel=true return end
  895. local current_airdrop = airdrops[1]
  896. if current_airdrop and current_airdrop.Parent and current_airdrop:FindFirstChild("Briefcase") then
  897. local briefcase = current_airdrop.Briefcase
  898. exitVehicle()
  899. local formerCF = root.CFrame
  900. jailbreak()
  901. --tp
  902. stprint("TPing to airdrop...")
  903. variousTP(briefcase.CFrame+Vector3.new(0,-6,0))
  904. if abort then cancel=true formerCFairdrop = nil return end
  905. if briefcase.Parent then
  906. --collect
  907. stprint("Robbery started!")
  908. noclip()
  909. stepconn = Stepped:Connect(function()
  910. root.CFrame = briefcase.CFrame + Vector3.new(0,-6,0)
  911. root.Velocity,root.RotVelocity=v30,v30
  912. end)
  913. wait(0.5)
  914. if airdropEvent then
  915. airdropEvent(current_airdrop)
  916. else
  917. HOLD_E = true
  918. local elapsed=0
  919. while abort==false and elapsed<20 and briefcase.Parent do
  920. elapsed=elapsed+wait(0.3)
  921. end
  922. HOLD_E = false
  923. end
  924. stepconn:Disconnect()
  925. yesclip()
  926. end
  927. --escape
  928. stprint("Escaping...")
  929. if settings.preferUnsafeEsc then
  930. variousTP(formerCF)
  931. else
  932. variousTP(CFrame.new(-303+RNG:NextNumber(-3,3),17.4,1430))
  933. end
  934. end
  935. end
  936.  
  937. --HOLD_E thread
  938. if keypress then
  939. spawn(function()
  940. while wait(0.2) and gui.Parent do
  941. if HOLD_E then
  942. keyclick(0x45)
  943. while wait(0.1) and HOLD_E do
  944. if windowFocused then
  945. keypress(0x45)
  946. end
  947. end
  948. keyrelease(0x45)
  949. end
  950. end
  951. end)
  952. end
  953.  
  954. --main loop
  955. local waiti=0
  956. local idleTick=0
  957. local airdropTick = 0
  958. while wait(0.5) and gui.Parent do
  959. if workspace.Trains:FindFirstChild("LocomotiveFront") then
  960. local trainpos = workspace.Trains.LocomotiveFront.Model.Front.Position
  961. if trainpos.X < -1300 and trainpos.Z < 350 then
  962. current_boxcar=nil
  963. end
  964. end
  965. if tick()-idleTick > 60 then
  966. idleTick=tick()
  967. game:GetService("VirtualUser"):CaptureController()
  968. game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  969. end
  970.  
  971. cancel=false
  972. if settings.enabled then
  973. if isMuseumOpen then
  974. pcall(robMuseum)
  975. toggleCanAbort(false)
  976. if not cancel then
  977. isMuseumOpen=false
  978. museumLbl.TextColor3 = Color3.new(1,1,1)
  979. stprint("Museum success!")
  980. end
  981. wait(2)
  982. elseif isJewlOpen then
  983. pcall(robJewelry)
  984. toggleCanAbort(false)
  985. if not cancel then
  986. isJewlOpen=false
  987. jewelryLbl.TextColor3 = Color3.new(1,1,1)
  988. stprint("Jewelry success!")
  989. end
  990. wait(2)
  991. elseif #airdrops > 0 and tick()-airdropTick > 20 then
  992. pcall(robAirdrop)
  993. toggleCanAbort(false)
  994. if not cancel then
  995. airdropTick = tick()
  996. airdropLbl.TextColor3 = #airdrops>0 and green or Color3.new(1,1,1)
  997. stprint("Airdrop success!")
  998. end
  999. wait(2)
  1000. elseif isTrainOpen and steamEngineEvent then
  1001. pcall(robSteamEngine)
  1002. toggleCanAbort(false)
  1003. if not cancel then
  1004. isTrainOpen=false
  1005. trainLbl.TextColor3 = Color3.new(1,1,1)
  1006. stprint("Train success!")
  1007. end
  1008. wait(2)
  1009. elseif current_boxcar then
  1010. pcall(robBoxcar)
  1011. toggleCanAbort(false)
  1012. if not cancel then
  1013. current_boxcar = nil
  1014. trainLbl.TextColor3 = Color3.new(1,1,1)
  1015. stprint("Train success!")
  1016. end
  1017. wait(2)
  1018. elseif isBankOpen then
  1019. pcall(robBank)
  1020. toggleCanAbort(false)
  1021. if not cancel then
  1022. isBankOpen=false
  1023. bankLbl.TextColor3 = Color3.new(1,1,1)
  1024. stprint("Bank success!")
  1025. end
  1026. wait(2)
  1027. else
  1028. stprint("Wait for stores to open".. string.rep('.',waiti%3+1))
  1029. waiti=waiti+1
  1030. end
  1031. else
  1032. stprint("Disabled.")
  1033. end
  1034. end
Add Comment
Please, Sign In to add comment