Shocker130000

JailBreak GUI

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