89JISOK

HACK JAILBREAK DINERO INFINITO (Opción 2)

Jun 11th, 2021
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.39 KB | None | 0 0
  1. ----Not Script Subscribe to BTY GLITCHES on youtube----
  2. local plr = game:GetService("Players").LocalPlayer
  3.  
  4. local TpMethod = 1
  5.  
  6. function JailbreakTp(...)
  7. getfenv()["TpMethod" .. TpMethod](...)
  8. end
  9.  
  10. function TpMethod1(...)
  11. local char = plr.Character
  12. local root = char.HumanoidRootPart
  13. local args = {...}
  14. for i=0,1,0.05 do
  15. wait()
  16. root.CFrame = root.CFrame:lerp(CFrame.new(unpack(args,1,3)), i)
  17. end
  18. end
  19.  
  20. function TpMethod2(...)
  21. local args = {...}
  22. local char = plr.Character
  23. local target = Vector3.new(unpack(args,1,3))
  24. local dist = (char:WaitForChild"HumanoidRootPart".Position - target).magnitude
  25. dist = math.floor(dist / 100) + 1
  26. for i=0,dist * 4 do
  27. wait()
  28. char:MoveTo(Vector3.new(...))
  29. end
  30. if args[#args] == true then
  31. wait()
  32. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(unpack(args,1,#args - 1))
  33. end
  34. end
  35.  
  36. function Tween(obj, t, properties)
  37. local TweenService = game:GetService("TweenService")
  38. local tweenInfo = TweenInfo.new(t,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  39. local tween = TweenService:Create(obj,tweenInfo,properties)
  40. tween:Play()
  41. return tween
  42. end
  43.  
  44. local Tracers = {}
  45.  
  46. local function AddLasso(p,team)
  47. if not Tracers[team.Name] then return end
  48. if p == plr then return end
  49. spawn(function()
  50. if p.Character then
  51. local l = Instance.new("SelectionPartLasso")
  52. l.Parent = p.Character
  53. l.Humanoid = p.Character:FindFirstChildOfClass"Humanoid"
  54. l.Part = plr.Character:WaitForChild"HumanoidRootPart"
  55. l.Visible = true
  56. l.Color3 = team.TeamColor.Color
  57. for i=0,5 do
  58. local sg = Instance.new("SurfaceGui")
  59. sg.Face = i
  60. sg.Parent = p.Character
  61. sg.Adornee = p.Character:FindFirstChild"HumanoidRootPart"
  62. sg.AlwaysOnTop = true
  63. local f = Instance.new("Frame", sg)
  64. f.Size = UDim2.new(1,0,1,0)
  65. f.BorderSizePixel = 0
  66. f.BackgroundColor3 = team.TeamColor.Color
  67. f.BackgroundTransparency = 0.5
  68. end
  69. end
  70. end)
  71. end
  72.  
  73. local function RemoveLasso(p)
  74. if not p.Character then return end
  75. for i,v in pairs(p.Character:GetDescendants()) do
  76. if v.ClassName:find("Selection") or v.ClassName == "SurfaceGui" then
  77. v:Destroy()
  78. end
  79. end
  80. end
  81.  
  82. for _,team in pairs(game:GetService("Teams"):GetChildren()) do
  83. team.PlayerAdded:connect(function(p)
  84. AddLasso(p,team)
  85. end)
  86.  
  87. team.PlayerRemoved:connect(function(p)
  88. RemoveLasso(p)
  89. end)
  90. end
  91.  
  92. function ToggleTracers(team, bool)
  93. Tracers[team] = bool
  94. local t = game:GetService("Teams"):FindFirstChild(team)
  95. if not t then return end
  96. for i,v in pairs(t:GetPlayers()) do
  97. if bool then
  98. AddLasso(v,t)
  99. else
  100. RemoveLasso(v)
  101. end
  102. end
  103. end
  104.  
  105. local function CharAdded(plr, char)
  106. if Tracers[tostring(plr.Team)] then
  107. AddLasso(plr,plr.Team)
  108. end
  109. end
  110.  
  111. local function PlrAdded(plr)
  112. plr.CharacterAdded:connect(function(char)
  113. CharAdded(plr, char)
  114. end)
  115. if plr.Character then
  116. CharAdded(plr, plr.Character)
  117. end
  118. end
  119.  
  120. game:GetService("Players").PlayerAdded:connect(PlrAdded)
  121. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  122. PlrAdded(v)
  123. end
  124.  
  125. --Creating Gui--
  126.  
  127. local function Create(classname)
  128. return function(t)
  129. local ins = Instance.new(classname)
  130. for i,v in pairs(t) do
  131. ins[i] = v
  132. end
  133. return ins
  134. end
  135. end
  136.  
  137. --local parent = game:GetService("CoreGui"):WaitForChild("RobloxGui")
  138. local main = Create "Frame" {
  139. Active = true,
  140. ClipsDescendants = true,
  141. Draggable = true,
  142. BackgroundColor3 = Color3.new(1,1,1),
  143. BorderSizePixel = 0,
  144. Size = UDim2.new(0,400,0,300),
  145. Position = UDim2.new(0.5,-200,0,-300),
  146. BackgroundTransparency = 1,
  147. Parent = Instance.new("ScreenGui", plr.PlayerGui)--parent
  148. }
  149. do
  150. local effect = Create "Frame" {
  151. Parent = main,
  152. Size = UDim2.new(1,0,0,50),
  153. BackgroundColor3 = Color3.fromRGB(85,170,255),
  154. BorderSizePixel = 0,
  155. ClipsDescendants = true,
  156. }
  157. local lb = Create "TextLabel" {
  158. Parent = effect,
  159. Size = UDim2.new(1,0,1,0),
  160. BackgroundTransparency = 1,
  161. BorderSizePixel = 0,
  162. TextSize = 30,
  163. TextColor3 = Color3.new(1,1,1),
  164. TextXAlignment = "Left",
  165. Font = "SourceSansBold",
  166. Text = "Jailbreak GUI",
  167. ZIndex = 2,
  168. }
  169. local function GTween()
  170. lb:TweenPosition(UDim2.new(1,10,0,0), nil,nil,3,true,function(ts)
  171. if ts == Enum.TweenStatus.Completed then
  172. lb.Position = UDim2.new(0,0 - lb.TextBounds.X - 2,0,0)
  173. GTween()
  174. end
  175. end)
  176. end
  177. GTween()
  178. end
  179.  
  180. local Menu = Create "Frame" {
  181. BackgroundColor3 = Color3.new(1,1,1),
  182. BorderSizePixel = 0,
  183. Position = UDim2.new(0,0,0,50),
  184. Size = UDim2.new(1,0,1,-50),
  185. Parent = main,
  186. }
  187.  
  188. local MenuLabel = Create "TextLabel" {
  189. BackgroundTransparency = 1,
  190. BorderSizePixel = 0,
  191. TextColor3 = Color3.new(0,0,0),
  192. TextSize = 20,
  193. Font = "SourceSans",
  194. Text = "Made by 10x050",
  195. TextWrapped = true,
  196. Size = UDim2.new(1,0,0,50),
  197. Parent = Menu
  198. }
  199.  
  200. local function CreateButton(text,parent)
  201. return Create "TextButton" {
  202. Active = true,
  203. AutoButtonColor = true,
  204. BackgroundColor3 = Color3.fromRGB(0,155,232),
  205. BorderSizePixel = 1,
  206. Size = UDim2.new(0,100,0,30),
  207. Font = "SourceSansBold",
  208. TextColor3 = Color3.new(1,1,0),
  209. TextSize = 20,
  210. Text = text,
  211. Parent = parent
  212. }
  213. end
  214.  
  215. local function CreateFrame(name)
  216. local f = Create "Frame" {
  217. BackgroundColor3 = Color3.new(1,1,1),
  218. BorderSizePixel = 0,
  219. Position = UDim2.new(0,0,0,50),
  220. Size = UDim2.new(1,0,1,-50),
  221. Visible = false,
  222. }
  223. local lb = Create "TextLabel" {
  224. BackgroundTransparency = 1,
  225. BorderSizePixel = 0,
  226. TextSize = 20,
  227. TextColor3 = Color3.new(1,1,0),
  228. Position = UDim2.new(0,0,0,5),
  229. Text = name,
  230. Parent = f,
  231. TextXAlignment = "Center",
  232. TextYAlignment = "Center",
  233. Size = UDim2.new(1,0,0,30),
  234. }
  235. local exit = CreateButton("Back", f)
  236. exit.Position = UDim2.new(0.5,-50,1,-45)
  237. exit.MouseButton1Click:connect(function()
  238. Menu.Visible = true
  239. f.Visible = false
  240. ActiveFrame = Menu
  241. end)
  242. return f
  243. end
  244.  
  245. ActiveFrame = Menu
  246.  
  247. local TeleportsFrame = CreateFrame("Teleports")
  248. TeleportsFrame.Parent = main
  249.  
  250. local BankIn = CreateButton("Bank (In)", TeleportsFrame)
  251. BankIn.Position = UDim2.new(0,15,0,40)
  252. BankIn.Size = UDim2.new(0,80,0,30)
  253. BankIn.MouseButton1Click:connect(function()
  254. JailbreakTp(32,0.715,814, true)
  255. end)
  256.  
  257. local BankOut = CreateButton("Bank (Out)", TeleportsFrame)
  258. BankOut.Position = UDim2.new(0,105,0,40)
  259. BankOut.MouseButton1Click:connect(function()
  260. JailbreakTp(10, 18, 784)
  261. end)
  262.  
  263. local JailIn = CreateButton("Jail (In)", TeleportsFrame)
  264. JailIn.Position = UDim2.new(0,215,0,40)
  265. JailIn.Size = UDim2.new(0,80,0,30)
  266. JailIn.MouseButton1Click:connect(function()
  267. JailbreakTp(-1310, 18, -1658)
  268. end)
  269.  
  270. local JailOut = CreateButton("Jail (Out)", TeleportsFrame)
  271. JailOut.Position = UDim2.new(0,305,0,40)
  272. JailOut.Size = UDim2.new(0,80,0,30)
  273. JailOut.MouseButton1Click:connect(function()
  274. JailbreakTp(-1133, 18, -1355)
  275. end)
  276.  
  277. local Garage = CreateButton("Garage", TeleportsFrame)
  278. Garage.Position = UDim2.new(0,335,0,120)--UDim2.new(0,10,0,80)
  279. Garage.Size = UDim2.new(0,60,0,30)
  280. Garage.MouseButton1Click:connect(function()
  281. JailbreakTp(-352, 23, 1175)
  282. end)
  283.  
  284. local JewelIn = CreateButton("Jewelry (In)", TeleportsFrame)
  285. JewelIn.Position = UDim2.new(0,25,0,80)
  286. JewelIn.MouseButton1Click:connect(function()
  287. JailbreakTp(133, 18, 1320, true)
  288. end)
  289.  
  290. local JewelOut = CreateButton("Jewelry (Out)", TeleportsFrame)
  291. JewelOut.Position = UDim2.new(0,135,0,80)
  292. JewelOut.Size = UDim2.new(0,115,0,30)
  293. JewelOut.MouseButton1Click:connect(function()
  294. JailbreakTp(142, 18, 1365)
  295. end)
  296.  
  297. local Crim1 = CreateButton("Crim base 1", TeleportsFrame)
  298. Crim1.Position = UDim2.new(0,5,0,120)
  299. Crim1.MouseButton1Click:connect(function()
  300. JailbreakTp(-226, 18, 1590, true)
  301. end)
  302.  
  303. local Crim2 = CreateButton("Crim base 2", TeleportsFrame)
  304. Crim2.Position = UDim2.new(0,115,0,120)
  305. Crim2.MouseButton1Click:connect(function()
  306. JailbreakTp(true, 1637, 50, -1768, true)
  307. end)
  308.  
  309. local Donut = CreateButton("Donut Shop", TeleportsFrame)
  310. Donut.Position = UDim2.new(0,225,0,120)
  311. Donut.MouseButton1Click:connect(function()
  312. JailbreakTp(268, 18, -1760, true)
  313. end)
  314.  
  315. local Gas = CreateButton("Gas Station", TeleportsFrame)
  316. Gas.Position = UDim2.new(0,260,0,80)
  317. Gas.MouseButton1Click:connect(function()
  318. JailbreakTp(-1583, 18, 724, true)
  319. end)
  320.  
  321. local TeleportsBtn = CreateButton("Teleports", MenuLabel)
  322. TeleportsBtn.Position = UDim2.new(0.5,-50,0,60)
  323. TeleportsBtn.MouseButton1Click:connect(function()
  324. TeleportsFrame.Visible = true
  325. Menu.Visible = false
  326. ActiveFrame = TeleportsFrame
  327. end)
  328.  
  329. local StuffFrame = CreateFrame("Stuff")
  330. StuffFrame.Parent = main
  331.  
  332. local StuffBtn = CreateButton("Stuff", MenuLabel)
  333. StuffBtn.Position = TeleportsBtn.Position + UDim2.new(0,0,0,40)
  334. StuffBtn.MouseButton1Click:connect(function()
  335. StuffFrame.Visible = true
  336. Menu.Visible = false
  337. ActiveFrame = StuffFrame
  338. end)
  339.  
  340. local RemoveDoors = CreateButton("Remove Doors", StuffFrame)
  341. RemoveDoors.Size = UDim2.new(0,120,0,30)
  342. RemoveDoors.Position = UDim2.new(0,10,0,50)
  343. RemoveDoors.MouseButton1Click:connect(function()
  344. local doors = workspace:FindFirstChild("Doors")
  345. if not doors then return end
  346. for i,v in pairs(doors:GetChildren()) do
  347. v:Destroy()
  348. end
  349. end)
  350.  
  351. local Platform = CreateButton("Platform", StuffFrame)
  352. Platform.Position = UDim2.new(0.5,-60,0,50)
  353. Platform.MouseButton1Click:connect(function()
  354. local p = Instance.new("Part", workspace)
  355. p.Size = Vector3.new(30,0.5,30)
  356. p.Anchored = true
  357. p.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,15,0)
  358. plr.Character:MoveTo(p.Position + Vector3.new(0,1,0))
  359. spawn(function()
  360. while p.Parent do
  361. wait(1)
  362. if (plr.Character.HumanoidRootPart.Position - p.Position).magnitude > 20 then
  363. p:Destroy()
  364. end
  365. end
  366. end)
  367. end)
  368.  
  369. local Tracers = CreateButton("Tracers: None", StuffFrame)
  370. Tracers.Size = UDim2.new(0,140,0,30)
  371. Tracers.Position = UDim2.new(1,-150,0,50)
  372. Tracers.MouseButton1Click:connect(function()
  373. local curr = Tracers.Text:sub(10)
  374. if curr ~= "None" then
  375. ToggleTracers(curr, false)
  376. end
  377. local teams = {"None", "Police", "Criminal", "Prisoner"}
  378. local new = ""
  379. for i,v in pairs(teams) do
  380. if v == curr then
  381. new = teams[i + 1] or teams[1]
  382. end
  383. end
  384. if new ~= "None" then
  385. ToggleTracers(new, true)
  386. end
  387. Tracers.Text = "Tracers: " .. new
  388. end)
  389.  
  390. local BtoolActive = false
  391. local m = plr:GetMouse()
  392.  
  393. local Btool = CreateButton("Btool: Off", StuffFrame)
  394. Btool.Position = UDim2.new(0,10,0,90)
  395. Btool.MouseButton1Click:connect(function()
  396. spawn(function()
  397. local status = Btool.Text:sub(8)
  398. local newstatus = status == "On" and "Off" or status == "Off" and "On"
  399. Btool.Text = "Btool: " .. newstatus
  400. BtoolActive = newstatus == "On" and true or newstatus == "Off" and false
  401. if BtoolActive then
  402. local sb = Instance.new("SelectionBox", workspace.CurrentCamera)
  403. local ev = m.Button1Down:connect(function()
  404. if m.Target then
  405. m.Target:Destroy()
  406. end
  407. end)
  408. while BtoolActive do
  409. wait()
  410. if m.Target then
  411. sb.Adornee = m.Target
  412. end
  413. end
  414. ev:Disconnect()
  415. else
  416. local sb = workspace.CurrentCamera:FindFirstChildOfClass("SelectionBox")
  417. if sb then sb:Destroy() end
  418. end
  419. end)
  420. end)
  421.  
  422. local ClickTpEnabled = false
  423. m.Button1Down:connect(function()
  424. if ClickTpEnabled and m.Target then
  425. plr.Character:MoveTo(m.Hit.p)
  426. end
  427. end)
  428.  
  429. local ClickTp = CreateButton("ClickTp: Off", StuffFrame)
  430. ClickTp.Position = UDim2.new(0,120,0,90)
  431. ClickTp.MouseButton1Click:connect(function()
  432. spawn(function()
  433. local status = ClickTp.Text:sub(10)
  434. local newstatus = status == "Off" and "On" or status == "On" and "Off"
  435. ClickTpEnabled = newstatus == "On" and true or newstatus == "Off" and false
  436. ClickTp.Text = "ClickTp: " .. newstatus
  437. local ind = Create "Part" {
  438. Anchored = true,
  439. CanCollide = false,
  440. Transparency = 0.3,
  441. Size = Vector3.new(1.2,0.3,1.2),
  442. BrickColor = BrickColor.Green(),
  443. Parent = workspace
  444. }
  445. Instance.new("CylinderMesh", ind)
  446. m.TargetFilter = ind
  447. local beam = Create "Part" {
  448. Anchored = true,
  449. CanCollide = false,
  450. Transparency = 0.3,
  451. BrickColor = BrickColor.Green(),
  452. TopSurface = "Smooth",
  453. BottomSurface = "Smooth",
  454. Size = Vector3.new(0.3,0.3,1),
  455. Parent = workspace
  456.  
  457. }
  458. while ClickTpEnabled do
  459. wait()
  460. ind.CFrame = CFrame.new(m.Hit.p)
  461. local humrootpos = plr.Character:WaitForChild'HumanoidRootPart'.Position
  462. local dist = (Vector3.new(m.Hit.p.X,0,m.Hit.p.Z) - Vector3.new(humrootpos.X,0,humrootpos.Z)).magnitude
  463. if dist > 150 then
  464. ind.BrickColor,beam.BrickColor = BrickColor.Red(),BrickColor.Red()
  465. else
  466. ind.BrickColor,beam.BrickColor = BrickColor.Green(),BrickColor.Green()
  467. end
  468. beam.Size = Vector3.new(0.3,0.3,dist - 0.5)
  469. beam.CFrame = CFrame.new(plr.Character:WaitForChild'HumanoidRootPart'.Position, m.Hit.p) * CFrame.new(0,0,-dist/2 + 0.5)
  470. end
  471. ind:Destroy()
  472. beam:Destroy()
  473. end)
  474. end)
  475.  
  476. local Gravity = CreateButton("Low Gravity", StuffFrame)
  477. Gravity.Position = UDim2.new(0,230,0,90)
  478. Gravity.Size = UDim2.new(0,130,0,30)
  479. Gravity.MouseButton1Click:connect(function()
  480. local t = Gravity.Text == "Low Gravity" and true or false
  481. workspace.Gravity = t and 50 or 196.2
  482. Gravity.Text = t and "Normal Gravity" or "Low Gravity"
  483. end)
  484.  
  485. local InfiniteJumpEnabled = false
  486. game:GetService("UserInputService").JumpRequest:connect(function()
  487. if InfiniteJumpEnabled then
  488. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  489. end
  490. end)
  491. local InfiniteJump = CreateButton("Infinite Jump: Off", StuffFrame)
  492. InfiniteJump.Position = UDim2.new(0,10,0,130)
  493. InfiniteJump.Size = UDim2.new(0,150,0,30)
  494. InfiniteJump.MouseButton1Click:connect(function()
  495. local state = InfiniteJump.Text:sub(string.len("Infinite Jump: ") + 1) --too lazy to count lol
  496. local new = state == "Off" and "On" or state == "On" and "Off"
  497. InfiniteJumpEnabled = new == "On"
  498. InfiniteJump.Text = "Infinite Jump: " .. new
  499. end)
  500.  
  501. local Giver = nil
  502. local ItemsGiver = CreateButton("Items Giver", StuffFrame)
  503. ItemsGiver.Position = UDim2.new(0,170,0,130)
  504. ItemsGiver.MouseButton1Click:connect(function()
  505. if not workspace:FindFirstChild("Givers") then return end
  506. if Giver then
  507. for i,v in pairs(Giver) do
  508. v.ClickDetector.Parent = v.OriginalParent
  509. v.Event:Disconnect()
  510. end
  511. getmetatable(Giver):Destroy()
  512. end
  513. Giver = {}
  514. local g = Giver
  515. local p = Instance.new("Part", workspace)
  516. p.Anchored = true
  517. p.CanCollide = false
  518. p.CFrame = plr.Character:WaitForChild"HumanoidRootPart".CFrame
  519. setmetatable(Giver, {__metatable = p})
  520. for i,v in pairs(workspace.Givers:GetChildren()) do
  521. local cd = v:FindFirstChildOfClass"ClickDetector"
  522. if cd then
  523. local newt = {}
  524. newt.ClickDetector = cd
  525. newt.OriginalParent = v
  526. cd.Parent = p
  527. newt.Event = cd.MouseClick:connect(function()
  528. cd.Parent = v
  529. end)
  530. table.insert(Giver, newt)
  531. end
  532. end
  533. spawn(function()
  534. wait(10)
  535. if Giver == g then
  536. Giver = nil
  537. for i,v in pairs(g) do
  538. v.ClickDetector.Parent = v.OriginalParent
  539. v.Event:Disconnect()
  540. end
  541. getmetatable(g):Destroy()
  542. end
  543. end)
  544. end)
  545.  
  546. local BankAutoRobBtn = CreateButton("Bank AutoRob", StuffFrame)
  547. BankAutoRobBtn.Position = UDim2.new(0,280,0,130)
  548. BankAutoRobBtn.Size = UDim2.new(0,115,0,30)
  549. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  550. BankAutoRobBtn.MouseButton1Click:connect(function()
  551. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  552. local Info = Bank.Extra.Sign
  553. if Info.Decal.Transparency == 0 then
  554. game:GetService("StarterGui"):SetCore("SendNotification",{
  555. Title = "Bank is closed!",
  556. Text = "You need to wait for the bank to open!",
  557. Duration = 7,
  558. Button1 = "Dismiss",
  559. })
  560. return
  561. end
  562. local bankpos = Vector3.new(Info.Position.X,0,Info.Position.Z)
  563. local root = plr.Character.HumanoidRootPart
  564. local plrpos = Vector3.new(root.Position.X,0,root.Position.Z)
  565.  
  566. if (bankpos - plrpos).magnitude > 150 then
  567. local cb = Instance.new"BindableFunction"
  568.  
  569. cb.OnInvoke = function(arg)
  570. if arg == "Teleport" then
  571. JailbreakTp(10, 18, 784)
  572. end
  573. end
  574.  
  575. game:GetService("StarterGui"):SetCore("SendNotification",{
  576. Title = "You are too far!",
  577. Text = "You need to get closer to the bank (use tp)",
  578. Duration = 7,
  579. Button1 = "Dismiss",
  580. Button2 = "Teleport",
  581. Callback = cb
  582. })
  583. else
  584. RobTheBank()
  585. end
  586. end)
  587.  
  588. local SettingsFrame = CreateFrame("Settings")
  589. SettingsFrame.Parent = main
  590.  
  591. local Settingsbtn = CreateButton("Settings", MenuLabel)
  592. Settingsbtn.Position = StuffBtn.Position + UDim2.new(0,0,0,40)
  593. Settingsbtn.MouseButton1Click:connect(function()
  594. SettingsFrame.Visible = true
  595. Menu.Visible = false
  596. ActiveFrame = SettingsFrame
  597. end)
  598.  
  599. local TpMethodBtn = CreateButton("Teleport Method: 1", SettingsFrame)
  600. TpMethodBtn.Position = UDim2.new(0,10,0,50)
  601. TpMethodBtn.Size = UDim2.new(0,160,0,30)
  602. TpMethodBtn.MouseButton1Click:connect(function()
  603. local curr = TpMethodBtn.Text:sub(string.len("Teleport Method: ") + 1)
  604. curr = tonumber(curr)
  605. local new = curr == 1 and 2 or curr == 2 and 1
  606. TpMethod = new
  607. TpMethodBtn.Text = "Teleport Method: " .. new
  608. end)
  609.  
  610. local ExitBtn = CreateButton("Exit", MenuLabel)
  611. ExitBtn.Position = Settingsbtn.Position + UDim2.new(0,0,0,40)
  612. ExitBtn.MouseButton1Click:connect(function()
  613. main:Destroy()
  614. script.Disabled = true
  615. script:Destroy()
  616. end)
  617.  
  618. local BankJewelStatus = Create "TextLabel" {
  619. BackgroundTransparency = 1,
  620. TextSize = 8,
  621. TextColor3 = Color3.new(0,0,0),
  622. Font = "Legacy",
  623. TextXAlignment = "Left",
  624. TextYAlignment = "Top",
  625. Size = UDim2.new(0,100,0,100),
  626. Position = UDim2.new(0,10,0,220),
  627. Text = "Bank:\nJewelry:",
  628. Parent = Menu
  629. }
  630.  
  631. local BankStatus = BankJewelStatus:Clone()
  632. BankStatus.Text = "Unknown"
  633. BankStatus.Size = UDim2.new(0,100,0,100)
  634. BankStatus.Position = UDim2.new(0,46,0,220)
  635. BankStatus.Parent = Menu
  636. BankStatus.TextColor3 = Color3.new(1,0,0)
  637.  
  638. local JewelryStatus = BankStatus:Clone()
  639. JewelryStatus.Text = "Unknown"
  640. JewelryStatus.Size = UDim2.new(0,100,0,100)
  641. JewelryStatus.Position = UDim2.new(0,59,0,232)
  642. JewelryStatus.Parent = Menu
  643. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  644.  
  645. main:TweenPosition(UDim2.new(0.5,-200,0.5,-150))
  646.  
  647. local TransparencyTweens = {}
  648. main.MouseLeave:connect(function()
  649. spawn(function()
  650. local bool = false
  651. local ev = main.MouseEnter:connect(function()
  652. bool = true
  653. end)
  654. wait(1)
  655. ev:Disconnect()
  656. if bool then return end
  657. for i,v in pairs(TransparencyTweens) do
  658. v:Pause()
  659. end
  660. TransparencyTweens = {}
  661. for i,v in pairs(main:GetDescendants()) do
  662. if v.Visible then
  663. local totween = {}
  664. if v.ClassName:sub(1,4) == "Text" then
  665. totween.TextTransparency = 0.7
  666. end
  667. if v.BackgroundTransparency ~= 1 then
  668. totween.BackgroundTransparency = 0.7
  669. end
  670. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  671. end
  672. end
  673. main:TweenSize(UDim2.new(0,400,0,50),nil,nil,nil,true)
  674. end)
  675. end)
  676. main.MouseEnter:connect(function()
  677. for i,v in pairs(TransparencyTweens) do
  678. v:Pause()
  679. end
  680. TransparencyTweens = {}
  681. for i,v in pairs(main:GetDescendants()) do
  682. if v.Visible then
  683. local totween = {}
  684. if v.ClassName:sub(1,4) == "Text" then
  685. totween.TextTransparency = 0
  686. end
  687. if v.BackgroundTransparency ~= 1 then
  688. totween.BackgroundTransparency = 0
  689. end
  690. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  691. end
  692. end
  693. main:TweenSize(UDim2.new(0,400,0,300),nil,nil,nil,true)
  694. end)
  695.  
  696. --AutoRob stuff--
  697. local DuffelBag = game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, 2219040)
  698. local BankAutoRob = {
  699. {
  700. Pos = {51, 18.06, 856.5},
  701. Yield = 2,
  702. Status = "Starting the robbery"
  703. },
  704. {
  705. Pos = {29.71, 0.73, 815.25},
  706. Yield = 15,
  707. Status = "Opening the vault"
  708. },
  709. {
  710. Pos = {18.37, 0.7659, 822.25},
  711. Yield = DuffelBag and 50 or 25,
  712. Status = "Collecting $$$"
  713. },
  714. {
  715. Pos = {10, 18, 784},
  716. Status = "Finishing the robbery"
  717. }
  718. }
  719.  
  720. local function Tp(...)
  721. local char = plr.Character
  722. for i=1,2 do
  723. wait()
  724. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(...)
  725. end
  726. end
  727.  
  728. function RobTheBank()
  729. for _,v in pairs(BankAutoRob) do
  730. Tp(unpack(v.Pos))
  731. wait(v.Yield)
  732. end
  733. end
  734.  
  735. --Bank notification--
  736. pcall(function()
  737. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  738. local Info = Bank.Extra.Sign.Decal
  739. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  740. if Info.Transparency ~= 0 then
  741. BankStatus.Text = "Open"
  742. BankStatus.TextColor3 = Color3.new(0,1,0)
  743. BankAutoRobBtn.BackgroundColor3 = Color3.new(0,1,0)
  744. local cb = Instance.new("BindableFunction")
  745. cb.OnInvoke = function(arg)
  746. if arg == "Teleport" then
  747. JailbreakTp(10, 18, 784)
  748. elseif arg == "AutoRob" then
  749. RobTheBank()
  750. end
  751. end
  752. game:GetService("StarterGui"):SetCore("SendNotification",{
  753. Title = "Bank is ready!",
  754. Text = "Bank is ready!",
  755. Duration = 15,
  756. Button1 = "Dismiss",
  757. Button2 = (Vector3.new(Info.Parent.Position.X,0,Info.Parent.Position.Z) - Vector3.new(plr.Character.HumanoidRootPart.Position.X,0,plr.Character.HumanoidRootPart.Position.Z)).magnitude < 150 and "AutoRob" or "Teleport",
  758. Callback = cb
  759. })
  760. else
  761. BankStatus.Text = "Closed"
  762. BankStatus.TextColor3 = Color3.new(1,0,0)
  763. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  764. end
  765. end)
  766. BankStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  767. BankStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  768. BankAutoRobBtn.BackgroundColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  769. end)
  770. --Jewelry notification--
  771. pcall(function()
  772. local Jewelry = workspace:FindFirstChild("Jewelrys"):GetChildren()[1]
  773. local Info = Jewelry.Extra.Sign.Decal
  774. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  775. if Info.Transparency ~= 0 then
  776. JewelryStatus.Text = "Open"
  777. JewelryStatus.TextColor3 = Color3.new(0,1,0)
  778. BankStatus.TextColor3 = Color3.new(0,1,0)
  779. local cb = Instance.new("BindableFunction")
  780. cb.OnInvoke = function(arg)
  781. if arg == "Teleport" then
  782. JailbreakTp(142, 18, 1365)
  783. end
  784. end
  785. game:GetService("StarterGui"):SetCore("SendNotification",{
  786. Title = "Jewelry is ready!",
  787. Text = "Jewelry is ready!",
  788. Duration = 15,
  789. Button1 = "Dismiss",
  790. Button2 = "Teleport",
  791. Callback = cb
  792. })
  793. else
  794. JewelryStatus.Text = "Closed"
  795. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  796. end
  797. end)
  798. JewelryStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  799. JewelryStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  800. end)
Add Comment
Please, Sign In to add comment