Advertisement
Caldona

Anonymous GUI Jailbreak

Apr 8th, 2018
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.77 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2.  
  3. local TpMethod = 1
  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 function RemoveLasso(p)
  73. if not p.Character then return end
  74. for i,v in pairs(p.Character:GetDescendants()) do
  75. if v.ClassName:find("Selection") or v.ClassName == "SurfaceGui" then
  76. v:Destroy()
  77. end
  78. end
  79. end
  80.  
  81. for _,team in pairs(game:GetService("Teams"):GetChildren()) do
  82. team.PlayerAdded:connect(function(p)
  83. AddLasso(p,team)
  84. end)
  85.  
  86. team.PlayerRemoved:connect(function(p)
  87. RemoveLasso(p)
  88. end)
  89. end
  90.  
  91. function ToggleTracers(team, bool)
  92. Tracers[team] = bool
  93. local t = game:GetService("Teams"):FindFirstChild(team)
  94. if not t then return end
  95. for i,v in pairs(t:GetPlayers()) do
  96. if bool then
  97. AddLasso(v,t)
  98. else
  99. RemoveLasso(v)
  100. end
  101. end
  102. end
  103.  
  104. local function CharAdded(plr, char)
  105. if Tracers[tostring(plr.Team)] then
  106. AddLasso(plr,plr.Team)
  107. end
  108. end
  109.  
  110. local function PlrAdded(plr)
  111. plr.CharacterAdded:connect(function(char)
  112. CharAdded(plr, char)
  113. end)
  114. if plr.Character then
  115. CharAdded(plr, plr.Character)
  116. end
  117. end
  118.  
  119. game:GetService("Players").PlayerAdded:connect(PlrAdded)
  120. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  121. PlrAdded(v)
  122. end
  123.  
  124. --Creating Gui--
  125.  
  126. local function Create(classname)
  127. return function(t)
  128. local ins = Instance.new(classname)
  129. for i,v in pairs(t) do
  130. ins[i] = v
  131. end
  132. return ins
  133. end
  134. end
  135.  
  136. --local parent = game:GetService("CoreGui"):WaitForChild("RobloxGui")
  137. local main = Create "Frame" {
  138. Active = true,
  139. ClipsDescendants = true,
  140. Draggable = true,
  141. BackgroundColor3 = Color3.new(1,1,1),
  142. BorderSizePixel = 0,
  143. Size = UDim2.new(0,400,0,300),
  144. Position = UDim2.new(0.5,-200,0,-300),
  145. BackgroundTransparency = 1,
  146. Parent = Instance.new("ScreenGui", plr.PlayerGui)--parent
  147. }
  148. do
  149. local effect = Create "Frame" {
  150. Parent = main,
  151. Size = UDim2.new(1,0,0,50),
  152. BackgroundColor3 = Color3.fromRGB(85,170,255),
  153. BorderSizePixel = 0,
  154. ClipsDescendants = true,
  155. }
  156. local lb = Create "TextLabel" {
  157. Parent = effect,
  158. Size = UDim2.new(1,0,1,0),
  159. BackgroundTransparency = 1,
  160. BorderSizePixel = 0,
  161. TextSize = 30,
  162. TextColor3 = Color3.new(1,1,1),
  163. TextXAlignment = "Left",
  164. Font = "SourceSansBold",
  165. Text = "Jailbreak GUI",
  166. ZIndex = 2,
  167. }
  168. local function GTween()
  169. lb:TweenPosition(UDim2.new(1,10,0,0), nil,nil,3,true,function(ts)
  170. if ts == Enum.TweenStatus.Completed then
  171. lb.Position = UDim2.new(0,0 - lb.TextBounds.X - 2,0,0)
  172. GTween()
  173. end
  174. end)
  175. end
  176. GTween()
  177. end
  178.  
  179. local Menu = Create "Frame" {
  180. BackgroundColor3 = Color3.new(1,1,1),
  181. BorderSizePixel = 0,
  182. Position = UDim2.new(0,0,0,50),
  183. Size = UDim2.new(1,0,1,-50),
  184. Parent = main,
  185. }
  186.  
  187. local MenuLabel = Create "TextLabel" {
  188. BackgroundTransparency = 1,
  189. BorderSizePixel = 0,
  190. TextColor3 = Color3.new(0,0,0),
  191. TextSize = 20,
  192. Font = "SourceSans",
  193. Text = "Made by refrfgrtgef for v3rm\n(won't tell you my roblox name)",
  194. TextWrapped = true,
  195. Size = UDim2.new(1,0,0,50),
  196. Parent = Menu
  197. }
  198.  
  199. local function CreateButton(text,parent)
  200. return Create "TextButton" {
  201. Active = true,
  202. AutoButtonColor = true,
  203. BackgroundColor3 = Color3.fromRGB(0,155,232),
  204. BorderSizePixel = 1,
  205. Size = UDim2.new(0,100,0,30),
  206. Font = "SourceSansBold",
  207. TextColor3 = Color3.new(1,1,0),
  208. TextSize = 20,
  209. Text = text,
  210. Parent = parent
  211. }
  212. end
  213.  
  214. local function CreateFrame(name)
  215. local f = Create "Frame" {
  216. BackgroundColor3 = Color3.new(1,1,1),
  217. BorderSizePixel = 0,
  218. Position = UDim2.new(0,0,0,50),
  219. Size = UDim2.new(1,0,1,-50),
  220. Visible = false,
  221. }
  222. local lb = Create "TextLabel" {
  223. BackgroundTransparency = 1,
  224. BorderSizePixel = 0,
  225. TextSize = 20,
  226. TextColor3 = Color3.new(1,1,0),
  227. Position = UDim2.new(0,0,0,5),
  228. Text = name,
  229. Parent = f,
  230. TextXAlignment = "Center",
  231. TextYAlignment = "Center",
  232. Size = UDim2.new(1,0,0,30),
  233. }
  234. local exit = CreateButton("Back", f)
  235. exit.Position = UDim2.new(0.5,-50,1,-45)
  236. exit.MouseButton1Click:connect(function()
  237. Menu.Visible = true
  238. f.Visible = false
  239. ActiveFrame = Menu
  240. end)
  241. return f
  242. end
  243.  
  244. ActiveFrame = Menu
  245.  
  246. local TeleportsFrame = CreateFrame("Teleports")
  247. TeleportsFrame.Parent = main
  248.  
  249. local BankIn = CreateButton("Bank (In)", TeleportsFrame)
  250. BankIn.Position = UDim2.new(0,15,0,40)
  251. BankIn.Size = UDim2.new(0,80,0,30)
  252. BankIn.MouseButton1Click:connect(function()
  253. JailbreakTp(32,0.715,814, true)
  254. end)
  255.  
  256. local BankOut = CreateButton("Bank (Out)", TeleportsFrame)
  257. BankOut.Position = UDim2.new(0,105,0,40)
  258. BankOut.MouseButton1Click:connect(function()
  259. JailbreakTp(10, 18, 784)
  260. end)
  261.  
  262. local JailIn = CreateButton("Jail (In)", TeleportsFrame)
  263. JailIn.Position = UDim2.new(0,215,0,40)
  264. JailIn.Size = UDim2.new(0,80,0,30)
  265. JailIn.MouseButton1Click:connect(function()
  266. JailbreakTp(-1310, 18, -1658)
  267. end)
  268.  
  269. local JailOut = CreateButton("Jail (Out)", TeleportsFrame)
  270. JailOut.Position = UDim2.new(0,305,0,40)
  271. JailOut.Size = UDim2.new(0,80,0,30)
  272. JailOut.MouseButton1Click:connect(function()
  273. JailbreakTp(-1133, 18, -1355)
  274. end)
  275.  
  276. local Garage = CreateButton("Garage", TeleportsFrame)
  277. Garage.Position = UDim2.new(0,335,0,120)--UDim2.new(0,10,0,80)
  278. Garage.Size = UDim2.new(0,60,0,30)
  279. Garage.MouseButton1Click:connect(function()
  280. JailbreakTp(-352, 23, 1175)
  281. end)
  282.  
  283. local JewelIn = CreateButton("Jewelry (In)", TeleportsFrame)
  284. JewelIn.Position = UDim2.new(0,25,0,80)
  285. JewelIn.MouseButton1Click:connect(function()
  286. JailbreakTp(133, 18, 1320, true)
  287. end)
  288.  
  289. local JewelOut = CreateButton("Jewelry (Out)", TeleportsFrame)
  290. JewelOut.Position = UDim2.new(0,135,0,80)
  291. JewelOut.Size = UDim2.new(0,115,0,30)
  292. JewelOut.MouseButton1Click:connect(function()
  293. JailbreakTp(142, 18, 1365)
  294. end)
  295.  
  296. local Crim1 = CreateButton("Crim base 1", TeleportsFrame)
  297. Crim1.Position = UDim2.new(0,5,0,120)
  298. Crim1.MouseButton1Click:connect(function()
  299. JailbreakTp(-226, 18, 1590, true)
  300. end)
  301.  
  302. local Crim2 = CreateButton("Crim base 2", TeleportsFrame)
  303. Crim2.Position = UDim2.new(0,115,0,120)
  304. Crim2.MouseButton1Click:connect(function()
  305. JailbreakTp(true, 1637, 50, -1768, true)
  306. end)
  307.  
  308. local Donut = CreateButton("Donut Shop", TeleportsFrame)
  309. Donut.Position = UDim2.new(0,225,0,120)
  310. Donut.MouseButton1Click:connect(function()
  311. JailbreakTp(268, 18, -1760, true)
  312. end)
  313.  
  314. local Gas = CreateButton("Gas Station", TeleportsFrame)
  315. Gas.Position = UDim2.new(0,260,0,80)
  316. Gas.MouseButton1Click:connect(function()
  317. JailbreakTp(-1583, 18, 724, true)
  318. end)
  319.  
  320. local TeleportsBtn = CreateButton("Teleports", MenuLabel)
  321. TeleportsBtn.Position = UDim2.new(0.5,-50,0,60)
  322. TeleportsBtn.MouseButton1Click:connect(function()
  323. TeleportsFrame.Visible = true
  324. Menu.Visible = false
  325. ActiveFrame = TeleportsFrame
  326. end)
  327.  
  328. local StuffFrame = CreateFrame("Stuff")
  329. StuffFrame.Parent = main
  330.  
  331. local StuffBtn = CreateButton("Stuff", MenuLabel)
  332. StuffBtn.Position = TeleportsBtn.Position + UDim2.new(0,0,0,40)
  333. StuffBtn.MouseButton1Click:connect(function()
  334. StuffFrame.Visible = true
  335. Menu.Visible = false
  336. ActiveFrame = StuffFrame
  337. end)
  338.  
  339. local RemoveDoors = CreateButton("Remove Doors", StuffFrame)
  340. RemoveDoors.Size = UDim2.new(0,120,0,30)
  341. RemoveDoors.Position = UDim2.new(0,10,0,50)
  342. RemoveDoors.MouseButton1Click:connect(function()
  343. local doors = workspace:FindFirstChild("Doors")
  344. if not doors then return end
  345. for i,v in pairs(doors:GetChildren()) do
  346. v:Destroy()
  347. end
  348. end)
  349.  
  350. local Platform = CreateButton("Platform", StuffFrame)
  351. Platform.Position = UDim2.new(0.5,-60,0,50)
  352. Platform.MouseButton1Click:connect(function()
  353. local p = Instance.new("Part", workspace)
  354. p.Size = Vector3.new(30,0.5,30)
  355. p.Anchored = true
  356. p.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,15,0)
  357. plr.Character:MoveTo(p.Position + Vector3.new(0,1,0))
  358. spawn(function()
  359. while p.Parent do
  360. wait(1)
  361. if (plr.Character.HumanoidRootPart.Position - p.Position).magnitude > 20 then
  362. p:Destroy()
  363. end
  364. end
  365. end)
  366. end)
  367.  
  368. local Tracers = CreateButton("Tracers: None", StuffFrame)
  369. Tracers.Size = UDim2.new(0,140,0,30)
  370. Tracers.Position = UDim2.new(1,-150,0,50)
  371. Tracers.MouseButton1Click:connect(function()
  372. local curr = Tracers.Text:sub(10)
  373. if curr ~= "None" then
  374. ToggleTracers(curr, false)
  375. end
  376. local teams = {"None", "Police", "Criminal", "Prisoner"}
  377. local new = ""
  378. for i,v in pairs(teams) do
  379. if v == curr then
  380. new = teams[i + 1] or teams[1]
  381. end
  382. end
  383. if new ~= "None" then
  384. ToggleTracers(new, true)
  385. end
  386. Tracers.Text = "Tracers: " .. new
  387. end)
  388.  
  389. local BtoolActive = false
  390. local m = plr:GetMouse()
  391.  
  392. local Btool = CreateButton("Btool: Off", StuffFrame)
  393. Btool.Position = UDim2.new(0,10,0,90)
  394. Btool.MouseButton1Click:connect(function()
  395. spawn(function()
  396. local status = Btool.Text:sub(8)
  397. local newstatus = status == "On" and "Off" or status == "Off" and "On"
  398. Btool.Text = "Btool: " .. newstatus
  399. BtoolActive = newstatus == "On" and true or newstatus == "Off" and false
  400. if BtoolActive then
  401. local sb = Instance.new("SelectionBox", workspace.CurrentCamera)
  402. local ev = m.Button1Down:connect(function()
  403. if m.Target then
  404. m.Target:Destroy()
  405. end
  406. end)
  407. while BtoolActive do
  408. wait()
  409. if m.Target then
  410. sb.Adornee = m.Target
  411. end
  412. end
  413. ev:Disconnect()
  414. else
  415. local sb = workspace.CurrentCamera:FindFirstChildOfClass("SelectionBox")
  416. if sb then sb:Destroy() end
  417. end
  418. end)
  419. end)
  420.  
  421. local ClickTpEnabled = false
  422. m.Button1Down:connect(function()
  423. if ClickTpEnabled and m.Target then
  424. plr.Character:MoveTo(m.Hit.p)
  425. end
  426. end)
  427.  
  428. local ClickTp = CreateButton("ClickTp: Off", StuffFrame)
  429. ClickTp.Position = UDim2.new(0,120,0,90)
  430. ClickTp.MouseButton1Click:connect(function()
  431. spawn(function()
  432. local status = ClickTp.Text:sub(10)
  433. local newstatus = status == "Off" and "On" or status == "On" and "Off"
  434. ClickTpEnabled = newstatus == "On" and true or newstatus == "Off" and false
  435. ClickTp.Text = "ClickTp: " .. newstatus
  436. local ind = Create "Part" {
  437. Anchored = true,
  438. CanCollide = false,
  439. Transparency = 0.3,
  440. Size = Vector3.new(1.2,0.3,1.2),
  441. BrickColor = BrickColor.Green(),
  442. Parent = workspace
  443. }
  444. Instance.new("CylinderMesh", ind)
  445. m.TargetFilter = ind
  446. local beam = Create "Part" {
  447. Anchored = true,
  448. CanCollide = false,
  449. Transparency = 0.3,
  450. BrickColor = BrickColor.Green(),
  451. TopSurface = "Smooth",
  452. BottomSurface = "Smooth",
  453. Size = Vector3.new(0.3,0.3,1),
  454. Parent = workspace
  455.  
  456. }
  457. while ClickTpEnabled do
  458. wait()
  459. ind.CFrame = CFrame.new(m.Hit.p)
  460. local humrootpos = plr.Character:WaitForChild'HumanoidRootPart'.Position
  461. local dist = (Vector3.new(m.Hit.p.X,0,m.Hit.p.Z) - Vector3.new(humrootpos.X,0,humrootpos.Z)).magnitude
  462. if dist > 150 then
  463. ind.BrickColor,beam.BrickColor = BrickColor.Red(),BrickColor.Red()
  464. else
  465. ind.BrickColor,beam.BrickColor = BrickColor.Green(),BrickColor.Green()
  466. end
  467. beam.Size = Vector3.new(0.3,0.3,dist - 0.5)
  468. beam.CFrame = CFrame.new(plr.Character:WaitForChild'HumanoidRootPart'.Position, m.Hit.p) * CFrame.new(0,0,-dist/2 + 0.5)
  469. end
  470. ind:Destroy()
  471. beam:Destroy()
  472. end)
  473. end)
  474.  
  475. local Gravity = CreateButton("Low Gravity", StuffFrame)
  476. Gravity.Position = UDim2.new(0,230,0,90)
  477. Gravity.Size = UDim2.new(0,130,0,30)
  478. Gravity.MouseButton1Click:connect(function()
  479. local t = Gravity.Text == "Low Gravity" and true or false
  480. workspace.Gravity = t and 50 or 196.2
  481. Gravity.Text = t and "Normal Gravity" or "Low Gravity"
  482. end)
  483.  
  484. local InfiniteJumpEnabled = false
  485. game:GetService("UserInputService").JumpRequest:connect(function()
  486. if InfiniteJumpEnabled then
  487. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  488. end
  489. end)
  490. local InfiniteJump = CreateButton("Infinite Jump: Off", StuffFrame)
  491. InfiniteJump.Position = UDim2.new(0,10,0,130)
  492. InfiniteJump.Size = UDim2.new(0,150,0,30)
  493. InfiniteJump.MouseButton1Click:connect(function()
  494. local state = InfiniteJump.Text:sub(string.len("Infinite Jump: ") + 1) --too lazy to count lol
  495. local new = state == "Off" and "On" or state == "On" and "Off"
  496. InfiniteJumpEnabled = new == "On"
  497. InfiniteJump.Text = "Infinite Jump: " .. new
  498. end)
  499.  
  500. local Giver = nil
  501. local ItemsGiver = CreateButton("Items Giver", StuffFrame)
  502. ItemsGiver.Position = UDim2.new(0,170,0,130)
  503. ItemsGiver.MouseButton1Click:connect(function()
  504. if not workspace:FindFirstChild("Givers") then return end
  505. if Giver then
  506. for i,v in pairs(Giver) do
  507. v.ClickDetector.Parent = v.OriginalParent
  508. v.Event:Disconnect()
  509. end
  510. getmetatable(Giver):Destroy()
  511. end
  512. Giver = {}
  513. local g = Giver
  514. local p = Instance.new("Part", workspace)
  515. p.Anchored = true
  516. p.CanCollide = false
  517. p.CFrame = plr.Character:WaitForChild"HumanoidRootPart".CFrame
  518. setmetatable(Giver, {__metatable = p})
  519. for i,v in pairs(workspace.Givers:GetChildren()) do
  520. local cd = v:FindFirstChildOfClass"ClickDetector"
  521. if cd then
  522. local newt = {}
  523. newt.ClickDetector = cd
  524. newt.OriginalParent = v
  525. cd.Parent = p
  526. newt.Event = cd.MouseClick:connect(function()
  527. cd.Parent = v
  528. end)
  529. table.insert(Giver, newt)
  530. end
  531. end
  532. spawn(function()
  533. wait(10)
  534. if Giver == g then
  535. Giver = nil
  536. for i,v in pairs(g) do
  537. v.ClickDetector.Parent = v.OriginalParent
  538. v.Event:Disconnect()
  539. end
  540. getmetatable(g):Destroy()
  541. end
  542. end)
  543. end)
  544.  
  545. local BankAutoRobBtn = CreateButton("Bank AutoRob", StuffFrame)
  546. BankAutoRobBtn.Position = UDim2.new(0,280,0,130)
  547. BankAutoRobBtn.Size = UDim2.new(0,115,0,30)
  548. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  549. BankAutoRobBtn.MouseButton1Click:connect(function()
  550. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  551. local Info = Bank.Extra.Sign
  552. if Info.Decal.Transparency == 0 then
  553. game:GetService("StarterGui"):SetCore("SendNotification",{
  554. Title = "Bank is closed!",
  555. Text = "You need to wait for the bank to open!",
  556. Duration = 7,
  557. Button1 = "Dismiss",
  558. })
  559. return
  560. end
  561. local bankpos = Vector3.new(Info.Position.X,0,Info.Position.Z)
  562. local root = plr.Character.HumanoidRootPart
  563. local plrpos = Vector3.new(root.Position.X,0,root.Position.Z)
  564.  
  565. if (bankpos - plrpos).magnitude > 150 then
  566. local cb = Instance.new"BindableFunction"
  567.  
  568. cb.OnInvoke = function(arg)
  569. if arg == "Teleport" then
  570. JailbreakTp(10, 18, 784)
  571. end
  572. end
  573.  
  574. game:GetService("StarterGui"):SetCore("SendNotification",{
  575. Title = "You are too far!",
  576. Text = "You need to get closer to the bank (use tp)",
  577. Duration = 7,
  578. Button1 = "Dismiss",
  579. Button2 = "Teleport",
  580. Callback = cb
  581. })
  582. else
  583. RobTheBank()
  584. end
  585. end)
  586.  
  587. local SettingsFrame = CreateFrame("Settings")
  588. SettingsFrame.Parent = main
  589.  
  590. local Settingsbtn = CreateButton("Settings", MenuLabel)
  591. Settingsbtn.Position = StuffBtn.Position + UDim2.new(0,0,0,40)
  592. Settingsbtn.MouseButton1Click:connect(function()
  593. SettingsFrame.Visible = true
  594. Menu.Visible = false
  595. ActiveFrame = SettingsFrame
  596. end)
  597.  
  598. local TpMethodBtn = CreateButton("Teleport Method: 1", SettingsFrame)
  599. TpMethodBtn.Position = UDim2.new(0,10,0,50)
  600. TpMethodBtn.Size = UDim2.new(0,160,0,30)
  601. TpMethodBtn.MouseButton1Click:connect(function()
  602. local curr = TpMethodBtn.Text:sub(string.len("Teleport Method: ") + 1)
  603. curr = tonumber(curr)
  604. local new = curr == 1 and 2 or curr == 2 and 1
  605. TpMethod = new
  606. TpMethodBtn.Text = "Teleport Method: " .. new
  607. end)
  608.  
  609. local ExitBtn = CreateButton("Exit", MenuLabel)
  610. ExitBtn.Position = Settingsbtn.Position + UDim2.new(0,0,0,40)
  611. ExitBtn.MouseButton1Click:connect(function()
  612. main:Destroy()
  613. script.Disabled = true
  614. script:Destroy()
  615. end)
  616.  
  617. local BankJewelStatus = Create "TextLabel" {
  618. BackgroundTransparency = 1,
  619. TextSize = 8,
  620. TextColor3 = Color3.new(0,0,0),
  621. Font = "Legacy",
  622. TextXAlignment = "Left",
  623. TextYAlignment = "Top",
  624. Size = UDim2.new(0,100,0,100),
  625. Position = UDim2.new(0,10,0,220),
  626. Text = "Bank:\nJewelry:",
  627. Parent = Menu
  628. }
  629.  
  630. local BankStatus = BankJewelStatus:Clone()
  631. BankStatus.Text = "Unknown"
  632. BankStatus.Size = UDim2.new(0,100,0,100)
  633. BankStatus.Position = UDim2.new(0,46,0,220)
  634. BankStatus.Parent = Menu
  635. BankStatus.TextColor3 = Color3.new(1,0,0)
  636.  
  637. local JewelryStatus = BankStatus:Clone()
  638. JewelryStatus.Text = "Unknown"
  639. JewelryStatus.Size = UDim2.new(0,100,0,100)
  640. JewelryStatus.Position = UDim2.new(0,59,0,232)
  641. JewelryStatus.Parent = Menu
  642. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  643.  
  644. main:TweenPosition(UDim2.new(0.5,-200,0.5,-150))
  645.  
  646. local TransparencyTweens = {}
  647. main.MouseLeave:connect(function()
  648. spawn(function()
  649. local bool = false
  650. local ev = main.MouseEnter:connect(function()
  651. bool = true
  652. end)
  653. wait(1)
  654. ev:Disconnect()
  655. if bool then return end
  656. for i,v in pairs(TransparencyTweens) do
  657. v:Pause()
  658. end
  659. TransparencyTweens = {}
  660. for i,v in pairs(main:GetDescendants()) do
  661. if v.Visible then
  662. local totween = {}
  663. if v.ClassName:sub(1,4) == "Text" then
  664. totween.TextTransparency = 0.7
  665. end
  666. if v.BackgroundTransparency ~= 1 then
  667. totween.BackgroundTransparency = 0.7
  668. end
  669. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  670. end
  671. end
  672. main:TweenSize(UDim2.new(0,400,0,50),nil,nil,nil,true)
  673. end)
  674. end)
  675. main.MouseEnter:connect(function()
  676. for i,v in pairs(TransparencyTweens) do
  677. v:Pause()
  678. end
  679. TransparencyTweens = {}
  680. for i,v in pairs(main:GetDescendants()) do
  681. if v.Visible then
  682. local totween = {}
  683. if v.ClassName:sub(1,4) == "Text" then
  684. totween.TextTransparency = 0
  685. end
  686. if v.BackgroundTransparency ~= 1 then
  687. totween.BackgroundTransparency = 0
  688. end
  689. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  690. end
  691. end
  692. main:TweenSize(UDim2.new(0,400,0,300),nil,nil,nil,true)
  693. end)
  694.  
  695. --AutoRob stuff--
  696. local DuffelBag = game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, 2219040)
  697. local BankAutoRob = {
  698. {
  699. Pos = {51, 18.06, 856.5},
  700. Yield = 2,
  701. Status = "Starting the robbery"
  702. },
  703. {
  704. Pos = {29.71, 0.73, 815.25},
  705. Yield = 15,
  706. Status = "Opening the vault"
  707. },
  708. {
  709. Pos = {18.37, 0.7659, 822.25},
  710. Yield = DuffelBag and 50 or 25,
  711. Status = "Collecting $$$"
  712. },
  713. {
  714. Pos = {10, 18, 784},
  715. Status = "Finishing the robbery"
  716. }
  717. }
  718.  
  719. local function Tp(...)
  720. local char = plr.Character
  721. for i=1,2 do
  722. wait()
  723. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(...)
  724. end
  725. end
  726.  
  727. function RobTheBank()
  728. for _,v in pairs(BankAutoRob) do
  729. Tp(unpack(v.Pos))
  730. wait(v.Yield)
  731. end
  732. end
  733.  
  734. --Bank notification--
  735. pcall(function()
  736. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  737. local Info = Bank.Extra.Sign.Decal
  738. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  739. if Info.Transparency ~= 0 then
  740. BankStatus.Text = "Open"
  741. BankStatus.TextColor3 = Color3.new(0,1,0)
  742. BankAutoRobBtn.BackgroundColor3 = Color3.new(0,1,0)
  743. local cb = Instance.new("BindableFunction")
  744. cb.OnInvoke = function(arg)
  745. if arg == "Teleport" then
  746. JailbreakTp(10, 18, 784)
  747. elseif arg == "AutoRob" then
  748. RobTheBank()
  749. end
  750. end
  751. game:GetService("StarterGui"):SetCore("SendNotification",{
  752. Title = "Bank is ready!",
  753. Text = "Bank is ready!",
  754. Duration = 15,
  755. Button1 = "Dismiss",
  756. 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",
  757. Callback = cb
  758. })
  759. else
  760. BankStatus.Text = "Closed"
  761. BankStatus.TextColor3 = Color3.new(1,0,0)
  762. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  763. end
  764. end)
  765. BankStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  766. BankStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  767. BankAutoRobBtn.BackgroundColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  768. end)
  769. --Jewelry notification--
  770. pcall(function()
  771. local Jewelry = workspace:FindFirstChild("Jewelrys"):GetChildren()[1]
  772. local Info = Jewelry.Extra.Sign.Decal
  773. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  774. if Info.Transparency ~= 0 then
  775. JewelryStatus.Text = "Open"
  776. JewelryStatus.TextColor3 = Color3.new(0,1,0)
  777. BankStatus.TextColor3 = Color3.new(0,1,0)
  778. local cb = Instance.new("BindableFunction")
  779. cb.OnInvoke = function(arg)
  780. if arg == "Teleport" then
  781. JailbreakTp(142, 18, 1365)
  782. end
  783. end
  784. game:GetService("StarterGui"):SetCore("SendNotification",{
  785. Title = "Jewelry is ready!",
  786. Text = "Jewelry is ready!",
  787. Duration = 15,
  788. Button1 = "Dismiss",
  789. Button2 = "Teleport",
  790. Callback = cb
  791. })
  792. else
  793. JewelryStatus.Text = "Closed"
  794. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  795. end
  796. end)
  797. JewelryStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  798. JewelryStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  799. end)local plr = game:GetService("Players").LocalPlayer
  800.  
  801. local TpMethod = 1
  802.  
  803. function JailbreakTp(...)
  804. getfenv()["TpMethod" .. TpMethod](...)
  805. end
  806.  
  807. function TpMethod1(...)
  808. local char = plr.Character
  809. local root = char.HumanoidRootPart
  810. local args = {...}
  811. for i=0,1,0.05 do
  812. wait()
  813. root.CFrame = root.CFrame:lerp(CFrame.new(unpack(args,1,3)), i)
  814. end
  815. end
  816.  
  817. function TpMethod2(...)
  818. local args = {...}
  819. local char = plr.Character
  820. local target = Vector3.new(unpack(args,1,3))
  821. local dist = (char:WaitForChild"HumanoidRootPart".Position - target).magnitude
  822. dist = math.floor(dist / 100) + 1
  823. for i=0,dist * 4 do
  824. wait()
  825. char:MoveTo(Vector3.new(...))
  826. end
  827. if args[#args] == true then
  828. wait()
  829. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(unpack(args,1,#args - 1))
  830. end
  831. end
  832.  
  833. function Tween(obj, t, properties)
  834. local TweenService = game:GetService("TweenService")
  835. local tweenInfo = TweenInfo.new(t,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  836. local tween = TweenService:Create(obj,tweenInfo,properties)
  837. tween:Play()
  838. return tween
  839. end
  840.  
  841. local Tracers = {}
  842.  
  843. local function AddLasso(p,team)
  844. if not Tracers[team.Name] then return end
  845. if p == plr then return end
  846. spawn(function()
  847. if p.Character then
  848. local l = Instance.new("SelectionPartLasso")
  849. l.Parent = p.Character
  850. l.Humanoid = p.Character:FindFirstChildOfClass"Humanoid"
  851. l.Part = plr.Character:WaitForChild"HumanoidRootPart"
  852. l.Visible = true
  853. l.Color3 = team.TeamColor.Color
  854. for i=0,5 do
  855. local sg = Instance.new("SurfaceGui")
  856. sg.Face = i
  857. sg.Parent = p.Character
  858. sg.Adornee = p.Character:FindFirstChild"HumanoidRootPart"
  859. sg.AlwaysOnTop = true
  860. local f = Instance.new("Frame", sg)
  861. f.Size = UDim2.new(1,0,1,0)
  862. f.BorderSizePixel = 0
  863. f.BackgroundColor3 = team.TeamColor.Color
  864. f.BackgroundTransparency = 0.5
  865. end
  866. end
  867. end)
  868. end
  869.  
  870. local function RemoveLasso(p)
  871. if not p.Character then return end
  872. for i,v in pairs(p.Character:GetDescendants()) do
  873. if v.ClassName:find("Selection") or v.ClassName == "SurfaceGui" then
  874. v:Destroy()
  875. end
  876. end
  877. end
  878.  
  879. for _,team in pairs(game:GetService("Teams"):GetChildren()) do
  880. team.PlayerAdded:connect(function(p)
  881. AddLasso(p,team)
  882. end)
  883.  
  884. team.PlayerRemoved:connect(function(p)
  885. RemoveLasso(p)
  886. end)
  887. end
  888.  
  889. function ToggleTracers(team, bool)
  890. Tracers[team] = bool
  891. local t = game:GetService("Teams"):FindFirstChild(team)
  892. if not t then return end
  893. for i,v in pairs(t:GetPlayers()) do
  894. if bool then
  895. AddLasso(v,t)
  896. else
  897. RemoveLasso(v)
  898. end
  899. end
  900. end
  901.  
  902. local function CharAdded(plr, char)
  903. if Tracers[tostring(plr.Team)] then
  904. AddLasso(plr,plr.Team)
  905. end
  906. end
  907.  
  908. local function PlrAdded(plr)
  909. plr.CharacterAdded:connect(function(char)
  910. CharAdded(plr, char)
  911. end)
  912. if plr.Character then
  913. CharAdded(plr, plr.Character)
  914. end
  915. end
  916.  
  917. game:GetService("Players").PlayerAdded:connect(PlrAdded)
  918. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  919. PlrAdded(v)
  920. end
  921.  
  922. --Creating Gui--
  923.  
  924. local function Create(classname)
  925. return function(t)
  926. local ins = Instance.new(classname)
  927. for i,v in pairs(t) do
  928. ins[i] = v
  929. end
  930. return ins
  931. end
  932. end
  933.  
  934. --local parent = game:GetService("CoreGui"):WaitForChild("RobloxGui")
  935. local main = Create "Frame" {
  936. Active = true,
  937. ClipsDescendants = true,
  938. Draggable = true,
  939. BackgroundColor3 = Color3.new(1,1,1),
  940. BorderSizePixel = 0,
  941. Size = UDim2.new(0,400,0,300),
  942. Position = UDim2.new(0.5,-200,0,-300),
  943. BackgroundTransparency = 1,
  944. Parent = Instance.new("ScreenGui", plr.PlayerGui)--parent
  945. }
  946. do
  947. local effect = Create "Frame" {
  948. Parent = main,
  949. Size = UDim2.new(1,0,0,50),
  950. BackgroundColor3 = Color3.fromRGB(85,170,255),
  951. BorderSizePixel = 0,
  952. ClipsDescendants = true,
  953. }
  954. local lb = Create "TextLabel" {
  955. Parent = effect,
  956. Size = UDim2.new(1,0,1,0),
  957. BackgroundTransparency = 1,
  958. BorderSizePixel = 0,
  959. TextSize = 30,
  960. TextColor3 = Color3.new(1,1,1),
  961. TextXAlignment = "Left",
  962. Font = "SourceSansBold",
  963. Text = "Jailbreak GUI",
  964. ZIndex = 2,
  965. }
  966. local function GTween()
  967. lb:TweenPosition(UDim2.new(1,10,0,0), nil,nil,3,true,function(ts)
  968. if ts == Enum.TweenStatus.Completed then
  969. lb.Position = UDim2.new(0,0 - lb.TextBounds.X - 2,0,0)
  970. GTween()
  971. end
  972. end)
  973. end
  974. GTween()
  975. end
  976.  
  977. local Menu = Create "Frame" {
  978. BackgroundColor3 = Color3.new(1,1,1),
  979. BorderSizePixel = 0,
  980. Position = UDim2.new(0,0,0,50),
  981. Size = UDim2.new(1,0,1,-50),
  982. Parent = main,
  983. }
  984.  
  985. local MenuLabel = Create "TextLabel" {
  986. BackgroundTransparency = 1,
  987. BorderSizePixel = 0,
  988. TextColor3 = Color3.new(0,0,0),
  989. TextSize = 20,
  990. Font = "SourceSans",
  991. Text = "Made by refrfgrtgef for v3rm\n(won't tell you my roblox name)",
  992. TextWrapped = true,
  993. Size = UDim2.new(1,0,0,50),
  994. Parent = Menu
  995. }
  996.  
  997. local function CreateButton(text,parent)
  998. return Create "TextButton" {
  999. Active = true,
  1000. AutoButtonColor = true,
  1001. BackgroundColor3 = Color3.fromRGB(0,155,232),
  1002. BorderSizePixel = 1,
  1003. Size = UDim2.new(0,100,0,30),
  1004. Font = "SourceSansBold",
  1005. TextColor3 = Color3.new(1,1,0),
  1006. TextSize = 20,
  1007. Text = text,
  1008. Parent = parent
  1009. }
  1010. end
  1011.  
  1012. local function CreateFrame(name)
  1013. local f = Create "Frame" {
  1014. BackgroundColor3 = Color3.new(1,1,1),
  1015. BorderSizePixel = 0,
  1016. Position = UDim2.new(0,0,0,50),
  1017. Size = UDim2.new(1,0,1,-50),
  1018. Visible = false,
  1019. }
  1020. local lb = Create "TextLabel" {
  1021. BackgroundTransparency = 1,
  1022. BorderSizePixel = 0,
  1023. TextSize = 20,
  1024. TextColor3 = Color3.new(1,1,0),
  1025. Position = UDim2.new(0,0,0,5),
  1026. Text = name,
  1027. Parent = f,
  1028. TextXAlignment = "Center",
  1029. TextYAlignment = "Center",
  1030. Size = UDim2.new(1,0,0,30),
  1031. }
  1032. local exit = CreateButton("Back", f)
  1033. exit.Position = UDim2.new(0.5,-50,1,-45)
  1034. exit.MouseButton1Click:connect(function()
  1035. Menu.Visible = true
  1036. f.Visible = false
  1037. ActiveFrame = Menu
  1038. end)
  1039. return f
  1040. end
  1041.  
  1042. ActiveFrame = Menu
  1043.  
  1044. local TeleportsFrame = CreateFrame("Teleports")
  1045. TeleportsFrame.Parent = main
  1046.  
  1047. local BankIn = CreateButton("Bank (In)", TeleportsFrame)
  1048. BankIn.Position = UDim2.new(0,15,0,40)
  1049. BankIn.Size = UDim2.new(0,80,0,30)
  1050. BankIn.MouseButton1Click:connect(function()
  1051. JailbreakTp(32,0.715,814, true)
  1052. end)
  1053.  
  1054. local BankOut = CreateButton("Bank (Out)", TeleportsFrame)
  1055. BankOut.Position = UDim2.new(0,105,0,40)
  1056. BankOut.MouseButton1Click:connect(function()
  1057. JailbreakTp(10, 18, 784)
  1058. end)
  1059.  
  1060. local JailIn = CreateButton("Jail (In)", TeleportsFrame)
  1061. JailIn.Position = UDim2.new(0,215,0,40)
  1062. JailIn.Size = UDim2.new(0,80,0,30)
  1063. JailIn.MouseButton1Click:connect(function()
  1064. JailbreakTp(-1310, 18, -1658)
  1065. end)
  1066.  
  1067. local JailOut = CreateButton("Jail (Out)", TeleportsFrame)
  1068. JailOut.Position = UDim2.new(0,305,0,40)
  1069. JailOut.Size = UDim2.new(0,80,0,30)
  1070. JailOut.MouseButton1Click:connect(function()
  1071. JailbreakTp(-1133, 18, -1355)
  1072. end)
  1073.  
  1074. local Garage = CreateButton("Garage", TeleportsFrame)
  1075. Garage.Position = UDim2.new(0,335,0,120)--UDim2.new(0,10,0,80)
  1076. Garage.Size = UDim2.new(0,60,0,30)
  1077. Garage.MouseButton1Click:connect(function()
  1078. JailbreakTp(-352, 23, 1175)
  1079. end)
  1080.  
  1081. local JewelIn = CreateButton("Jewelry (In)", TeleportsFrame)
  1082. JewelIn.Position = UDim2.new(0,25,0,80)
  1083. JewelIn.MouseButton1Click:connect(function()
  1084. JailbreakTp(133, 18, 1320, true)
  1085. end)
  1086.  
  1087. local JewelOut = CreateButton("Jewelry (Out)", TeleportsFrame)
  1088. JewelOut.Position = UDim2.new(0,135,0,80)
  1089. JewelOut.Size = UDim2.new(0,115,0,30)
  1090. JewelOut.MouseButton1Click:connect(function()
  1091. JailbreakTp(142, 18, 1365)
  1092. end)
  1093.  
  1094. local Crim1 = CreateButton("Crim base 1", TeleportsFrame)
  1095. Crim1.Position = UDim2.new(0,5,0,120)
  1096. Crim1.MouseButton1Click:connect(function()
  1097. JailbreakTp(-226, 18, 1590, true)
  1098. end)
  1099.  
  1100. local Crim2 = CreateButton("Crim base 2", TeleportsFrame)
  1101. Crim2.Position = UDim2.new(0,115,0,120)
  1102. Crim2.MouseButton1Click:connect(function()
  1103. JailbreakTp(true, 1637, 50, -1768, true)
  1104. end)
  1105.  
  1106. local Donut = CreateButton("Donut Shop", TeleportsFrame)
  1107. Donut.Position = UDim2.new(0,225,0,120)
  1108. Donut.MouseButton1Click:connect(function()
  1109. JailbreakTp(268, 18, -1760, true)
  1110. end)
  1111.  
  1112. local Gas = CreateButton("Gas Station", TeleportsFrame)
  1113. Gas.Position = UDim2.new(0,260,0,80)
  1114. Gas.MouseButton1Click:connect(function()
  1115. JailbreakTp(-1583, 18, 724, true)
  1116. end)
  1117.  
  1118. local TeleportsBtn = CreateButton("Teleports", MenuLabel)
  1119. TeleportsBtn.Position = UDim2.new(0.5,-50,0,60)
  1120. TeleportsBtn.MouseButton1Click:connect(function()
  1121. TeleportsFrame.Visible = true
  1122. Menu.Visible = false
  1123. ActiveFrame = TeleportsFrame
  1124. end)
  1125.  
  1126. local StuffFrame = CreateFrame("Stuff")
  1127. StuffFrame.Parent = main
  1128.  
  1129. local StuffBtn = CreateButton("Stuff", MenuLabel)
  1130. StuffBtn.Position = TeleportsBtn.Position + UDim2.new(0,0,0,40)
  1131. StuffBtn.MouseButton1Click:connect(function()
  1132. StuffFrame.Visible = true
  1133. Menu.Visible = false
  1134. ActiveFrame = StuffFrame
  1135. end)
  1136.  
  1137. local RemoveDoors = CreateButton("Remove Doors", StuffFrame)
  1138. RemoveDoors.Size = UDim2.new(0,120,0,30)
  1139. RemoveDoors.Position = UDim2.new(0,10,0,50)
  1140. RemoveDoors.MouseButton1Click:connect(function()
  1141. local doors = workspace:FindFirstChild("Doors")
  1142. if not doors then return end
  1143. for i,v in pairs(doors:GetChildren()) do
  1144. v:Destroy()
  1145. end
  1146. end)
  1147.  
  1148. local Platform = CreateButton("Platform", StuffFrame)
  1149. Platform.Position = UDim2.new(0.5,-60,0,50)
  1150. Platform.MouseButton1Click:connect(function()
  1151. local p = Instance.new("Part", workspace)
  1152. p.Size = Vector3.new(30,0.5,30)
  1153. p.Anchored = true
  1154. p.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,15,0)
  1155. plr.Character:MoveTo(p.Position + Vector3.new(0,1,0))
  1156. spawn(function()
  1157. while p.Parent do
  1158. wait(1)
  1159. if (plr.Character.HumanoidRootPart.Position - p.Position).magnitude > 20 then
  1160. p:Destroy()
  1161. end
  1162. end
  1163. end)
  1164. end)
  1165.  
  1166. local Tracers = CreateButton("Tracers: None", StuffFrame)
  1167. Tracers.Size = UDim2.new(0,140,0,30)
  1168. Tracers.Position = UDim2.new(1,-150,0,50)
  1169. Tracers.MouseButton1Click:connect(function()
  1170. local curr = Tracers.Text:sub(10)
  1171. if curr ~= "None" then
  1172. ToggleTracers(curr, false)
  1173. end
  1174. local teams = {"None", "Police", "Criminal", "Prisoner"}
  1175. local new = ""
  1176. for i,v in pairs(teams) do
  1177. if v == curr then
  1178. new = teams[i + 1] or teams[1]
  1179. end
  1180. end
  1181. if new ~= "None" then
  1182. ToggleTracers(new, true)
  1183. end
  1184. Tracers.Text = "Tracers: " .. new
  1185. end)
  1186.  
  1187. local BtoolActive = false
  1188. local m = plr:GetMouse()
  1189.  
  1190. local Btool = CreateButton("Btool: Off", StuffFrame)
  1191. Btool.Position = UDim2.new(0,10,0,90)
  1192. Btool.MouseButton1Click:connect(function()
  1193. spawn(function()
  1194. local status = Btool.Text:sub(8)
  1195. local newstatus = status == "On" and "Off" or status == "Off" and "On"
  1196. Btool.Text = "Btool: " .. newstatus
  1197. BtoolActive = newstatus == "On" and true or newstatus == "Off" and false
  1198. if BtoolActive then
  1199. local sb = Instance.new("SelectionBox", workspace.CurrentCamera)
  1200. local ev = m.Button1Down:connect(function()
  1201. if m.Target then
  1202. m.Target:Destroy()
  1203. end
  1204. end)
  1205. while BtoolActive do
  1206. wait()
  1207. if m.Target then
  1208. sb.Adornee = m.Target
  1209. end
  1210. end
  1211. ev:Disconnect()
  1212. else
  1213. local sb = workspace.CurrentCamera:FindFirstChildOfClass("SelectionBox")
  1214. if sb then sb:Destroy() end
  1215. end
  1216. end)
  1217. end)
  1218.  
  1219. local ClickTpEnabled = false
  1220. m.Button1Down:connect(function()
  1221. if ClickTpEnabled and m.Target then
  1222. plr.Character:MoveTo(m.Hit.p)
  1223. end
  1224. end)
  1225.  
  1226. local ClickTp = CreateButton("ClickTp: Off", StuffFrame)
  1227. ClickTp.Position = UDim2.new(0,120,0,90)
  1228. ClickTp.MouseButton1Click:connect(function()
  1229. spawn(function()
  1230. local status = ClickTp.Text:sub(10)
  1231. local newstatus = status == "Off" and "On" or status == "On" and "Off"
  1232. ClickTpEnabled = newstatus == "On" and true or newstatus == "Off" and false
  1233. ClickTp.Text = "ClickTp: " .. newstatus
  1234. local ind = Create "Part" {
  1235. Anchored = true,
  1236. CanCollide = false,
  1237. Transparency = 0.3,
  1238. Size = Vector3.new(1.2,0.3,1.2),
  1239. BrickColor = BrickColor.Green(),
  1240. Parent = workspace
  1241. }
  1242. Instance.new("CylinderMesh", ind)
  1243. m.TargetFilter = ind
  1244. local beam = Create "Part" {
  1245. Anchored = true,
  1246. CanCollide = false,
  1247. Transparency = 0.3,
  1248. BrickColor = BrickColor.Green(),
  1249. TopSurface = "Smooth",
  1250. BottomSurface = "Smooth",
  1251. Size = Vector3.new(0.3,0.3,1),
  1252. Parent = workspace
  1253.  
  1254. }
  1255. while ClickTpEnabled do
  1256. wait()
  1257. ind.CFrame = CFrame.new(m.Hit.p)
  1258. local humrootpos = plr.Character:WaitForChild'HumanoidRootPart'.Position
  1259. local dist = (Vector3.new(m.Hit.p.X,0,m.Hit.p.Z) - Vector3.new(humrootpos.X,0,humrootpos.Z)).magnitude
  1260. if dist > 150 then
  1261. ind.BrickColor,beam.BrickColor = BrickColor.Red(),BrickColor.Red()
  1262. else
  1263. ind.BrickColor,beam.BrickColor = BrickColor.Green(),BrickColor.Green()
  1264. end
  1265. beam.Size = Vector3.new(0.3,0.3,dist - 0.5)
  1266. beam.CFrame = CFrame.new(plr.Character:WaitForChild'HumanoidRootPart'.Position, m.Hit.p) * CFrame.new(0,0,-dist/2 + 0.5)
  1267. end
  1268. ind:Destroy()
  1269. beam:Destroy()
  1270. end)
  1271. end)
  1272.  
  1273. local Gravity = CreateButton("Low Gravity", StuffFrame)
  1274. Gravity.Position = UDim2.new(0,230,0,90)
  1275. Gravity.Size = UDim2.new(0,130,0,30)
  1276. Gravity.MouseButton1Click:connect(function()
  1277. local t = Gravity.Text == "Low Gravity" and true or false
  1278. workspace.Gravity = t and 50 or 196.2
  1279. Gravity.Text = t and "Normal Gravity" or "Low Gravity"
  1280. end)
  1281.  
  1282. local InfiniteJumpEnabled = false
  1283. game:GetService("UserInputService").JumpRequest:connect(function()
  1284. if InfiniteJumpEnabled then
  1285. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  1286. end
  1287. end)
  1288. local InfiniteJump = CreateButton("Infinite Jump: Off", StuffFrame)
  1289. InfiniteJump.Position = UDim2.new(0,10,0,130)
  1290. InfiniteJump.Size = UDim2.new(0,150,0,30)
  1291. InfiniteJump.MouseButton1Click:connect(function()
  1292. local state = InfiniteJump.Text:sub(string.len("Infinite Jump: ") + 1) --too lazy to count lol
  1293. local new = state == "Off" and "On" or state == "On" and "Off"
  1294. InfiniteJumpEnabled = new == "On"
  1295. InfiniteJump.Text = "Infinite Jump: " .. new
  1296. end)
  1297.  
  1298. local Giver = nil
  1299. local ItemsGiver = CreateButton("Items Giver", StuffFrame)
  1300. ItemsGiver.Position = UDim2.new(0,170,0,130)
  1301. ItemsGiver.MouseButton1Click:connect(function()
  1302. if not workspace:FindFirstChild("Givers") then return end
  1303. if Giver then
  1304. for i,v in pairs(Giver) do
  1305. v.ClickDetector.Parent = v.OriginalParent
  1306. v.Event:Disconnect()
  1307. end
  1308. getmetatable(Giver):Destroy()
  1309. end
  1310. Giver = {}
  1311. local g = Giver
  1312. local p = Instance.new("Part", workspace)
  1313. p.Anchored = true
  1314. p.CanCollide = false
  1315. p.CFrame = plr.Character:WaitForChild"HumanoidRootPart".CFrame
  1316. setmetatable(Giver, {__metatable = p})
  1317. for i,v in pairs(workspace.Givers:GetChildren()) do
  1318. local cd = v:FindFirstChildOfClass"ClickDetector"
  1319. if cd then
  1320. local newt = {}
  1321. newt.ClickDetector = cd
  1322. newt.OriginalParent = v
  1323. cd.Parent = p
  1324. newt.Event = cd.MouseClick:connect(function()
  1325. cd.Parent = v
  1326. end)
  1327. table.insert(Giver, newt)
  1328. end
  1329. end
  1330. spawn(function()
  1331. wait(10)
  1332. if Giver == g then
  1333. Giver = nil
  1334. for i,v in pairs(g) do
  1335. v.ClickDetector.Parent = v.OriginalParent
  1336. v.Event:Disconnect()
  1337. end
  1338. getmetatable(g):Destroy()
  1339. end
  1340. end)
  1341. end)
  1342.  
  1343. local BankAutoRobBtn = CreateButton("Bank AutoRob", StuffFrame)
  1344. BankAutoRobBtn.Position = UDim2.new(0,280,0,130)
  1345. BankAutoRobBtn.Size = UDim2.new(0,115,0,30)
  1346. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  1347. BankAutoRobBtn.MouseButton1Click:connect(function()
  1348. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  1349. local Info = Bank.Extra.Sign
  1350. if Info.Decal.Transparency == 0 then
  1351. game:GetService("StarterGui"):SetCore("SendNotification",{
  1352. Title = "Bank is closed!",
  1353. Text = "You need to wait for the bank to open!",
  1354. Duration = 7,
  1355. Button1 = "Dismiss",
  1356. })
  1357. return
  1358. end
  1359. local bankpos = Vector3.new(Info.Position.X,0,Info.Position.Z)
  1360. local root = plr.Character.HumanoidRootPart
  1361. local plrpos = Vector3.new(root.Position.X,0,root.Position.Z)
  1362.  
  1363. if (bankpos - plrpos).magnitude > 150 then
  1364. local cb = Instance.new"BindableFunction"
  1365.  
  1366. cb.OnInvoke = function(arg)
  1367. if arg == "Teleport" then
  1368. JailbreakTp(10, 18, 784)
  1369. end
  1370. end
  1371.  
  1372. game:GetService("StarterGui"):SetCore("SendNotification",{
  1373. Title = "You are too far!",
  1374. Text = "You need to get closer to the bank (use tp)",
  1375. Duration = 7,
  1376. Button1 = "Dismiss",
  1377. Button2 = "Teleport",
  1378. Callback = cb
  1379. })
  1380. else
  1381. RobTheBank()
  1382. end
  1383. end)
  1384.  
  1385. local SettingsFrame = CreateFrame("Settings")
  1386. SettingsFrame.Parent = main
  1387.  
  1388. local Settingsbtn = CreateButton("Settings", MenuLabel)
  1389. Settingsbtn.Position = StuffBtn.Position + UDim2.new(0,0,0,40)
  1390. Settingsbtn.MouseButton1Click:connect(function()
  1391. SettingsFrame.Visible = true
  1392. Menu.Visible = false
  1393. ActiveFrame = SettingsFrame
  1394. end)
  1395.  
  1396. local TpMethodBtn = CreateButton("Teleport Method: 1", SettingsFrame)
  1397. TpMethodBtn.Position = UDim2.new(0,10,0,50)
  1398. TpMethodBtn.Size = UDim2.new(0,160,0,30)
  1399. TpMethodBtn.MouseButton1Click:connect(function()
  1400. local curr = TpMethodBtn.Text:sub(string.len("Teleport Method: ") + 1)
  1401. curr = tonumber(curr)
  1402. local new = curr == 1 and 2 or curr == 2 and 1
  1403. TpMethod = new
  1404. TpMethodBtn.Text = "Teleport Method: " .. new
  1405. end)
  1406.  
  1407. local ExitBtn = CreateButton("Exit", MenuLabel)
  1408. ExitBtn.Position = Settingsbtn.Position + UDim2.new(0,0,0,40)
  1409. ExitBtn.MouseButton1Click:connect(function()
  1410. main:Destroy()
  1411. script.Disabled = true
  1412. script:Destroy()
  1413. end)
  1414.  
  1415. local BankJewelStatus = Create "TextLabel" {
  1416. BackgroundTransparency = 1,
  1417. TextSize = 8,
  1418. TextColor3 = Color3.new(0,0,0),
  1419. Font = "Legacy",
  1420. TextXAlignment = "Left",
  1421. TextYAlignment = "Top",
  1422. Size = UDim2.new(0,100,0,100),
  1423. Position = UDim2.new(0,10,0,220),
  1424. Text = "Bank:\nJewelry:",
  1425. Parent = Menu
  1426. }
  1427.  
  1428. local BankStatus = BankJewelStatus:Clone()
  1429. BankStatus.Text = "Unknown"
  1430. BankStatus.Size = UDim2.new(0,100,0,100)
  1431. BankStatus.Position = UDim2.new(0,46,0,220)
  1432. BankStatus.Parent = Menu
  1433. BankStatus.TextColor3 = Color3.new(1,0,0)
  1434.  
  1435. local JewelryStatus = BankStatus:Clone()
  1436. JewelryStatus.Text = "Unknown"
  1437. JewelryStatus.Size = UDim2.new(0,100,0,100)
  1438. JewelryStatus.Position = UDim2.new(0,59,0,232)
  1439. JewelryStatus.Parent = Menu
  1440. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  1441.  
  1442. main:TweenPosition(UDim2.new(0.5,-200,0.5,-150))
  1443.  
  1444. local TransparencyTweens = {}
  1445. main.MouseLeave:connect(function()
  1446. spawn(function()
  1447. local bool = false
  1448. local ev = main.MouseEnter:connect(function()
  1449. bool = true
  1450. end)
  1451. wait(1)
  1452. ev:Disconnect()
  1453. if bool then return end
  1454. for i,v in pairs(TransparencyTweens) do
  1455. v:Pause()
  1456. end
  1457. TransparencyTweens = {}
  1458. for i,v in pairs(main:GetDescendants()) do
  1459. if v.Visible then
  1460. local totween = {}
  1461. if v.ClassName:sub(1,4) == "Text" then
  1462. totween.TextTransparency = 0.7
  1463. end
  1464. if v.BackgroundTransparency ~= 1 then
  1465. totween.BackgroundTransparency = 0.7
  1466. end
  1467. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  1468. end
  1469. end
  1470. main:TweenSize(UDim2.new(0,400,0,50),nil,nil,nil,true)
  1471. end)
  1472. end)
  1473. main.MouseEnter:connect(function()
  1474. for i,v in pairs(TransparencyTweens) do
  1475. v:Pause()
  1476. end
  1477. TransparencyTweens = {}
  1478. for i,v in pairs(main:GetDescendants()) do
  1479. if v.Visible then
  1480. local totween = {}
  1481. if v.ClassName:sub(1,4) == "Text" then
  1482. totween.TextTransparency = 0
  1483. end
  1484. if v.BackgroundTransparency ~= 1 then
  1485. totween.BackgroundTransparency = 0
  1486. end
  1487. TransparencyTweens[#TransparencyTweens + 1] = Tween(v, 0.5, totween)
  1488. end
  1489. end
  1490. main:TweenSize(UDim2.new(0,400,0,300),nil,nil,nil,true)
  1491. end)
  1492.  
  1493. --AutoRob stuff--
  1494. local DuffelBag = game:GetService("MarketplaceService"):PlayerOwnsAsset(plr, 2219040)
  1495. local BankAutoRob = {
  1496. {
  1497. Pos = {51, 18.06, 856.5},
  1498. Yield = 2,
  1499. Status = "Starting the robbery"
  1500. },
  1501. {
  1502. Pos = {29.71, 0.73, 815.25},
  1503. Yield = 15,
  1504. Status = "Opening the vault"
  1505. },
  1506. {
  1507. Pos = {18.37, 0.7659, 822.25},
  1508. Yield = DuffelBag and 50 or 25,
  1509. Status = "Collecting $$$"
  1510. },
  1511. {
  1512. Pos = {10, 18, 784},
  1513. Status = "Finishing the robbery"
  1514. }
  1515. }
  1516.  
  1517. local function Tp(...)
  1518. local char = plr.Character
  1519. for i=1,2 do
  1520. wait()
  1521. char:WaitForChild'HumanoidRootPart'.CFrame = CFrame.new(...)
  1522. end
  1523. end
  1524.  
  1525. function RobTheBank()
  1526. for _,v in pairs(BankAutoRob) do
  1527. Tp(unpack(v.Pos))
  1528. wait(v.Yield)
  1529. end
  1530. end
  1531.  
  1532. --Bank notification--
  1533. pcall(function()
  1534. local Bank = workspace:FindFirstChild("Banks"):GetChildren()[1]
  1535. local Info = Bank.Extra.Sign.Decal
  1536. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  1537. if Info.Transparency ~= 0 then
  1538. BankStatus.Text = "Open"
  1539. BankStatus.TextColor3 = Color3.new(0,1,0)
  1540. BankAutoRobBtn.BackgroundColor3 = Color3.new(0,1,0)
  1541. local cb = Instance.new("BindableFunction")
  1542. cb.OnInvoke = function(arg)
  1543. if arg == "Teleport" then
  1544. JailbreakTp(10, 18, 784)
  1545. elseif arg == "AutoRob" then
  1546. RobTheBank()
  1547. end
  1548. end
  1549. game:GetService("StarterGui"):SetCore("SendNotification",{
  1550. Title = "Bank is ready!",
  1551. Text = "Bank is ready!",
  1552. Duration = 15,
  1553. Button1 = "Dismiss",
  1554. 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",
  1555. Callback = cb
  1556. })
  1557. else
  1558. BankStatus.Text = "Closed"
  1559. BankStatus.TextColor3 = Color3.new(1,0,0)
  1560. BankAutoRobBtn.BackgroundColor3 = Color3.new(1,0,0)
  1561. end
  1562. end)
  1563. BankStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  1564. BankStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  1565. BankAutoRobBtn.BackgroundColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  1566. end)
  1567. --Jewelry notification--
  1568. pcall(function()
  1569. local Jewelry = workspace:FindFirstChild("Jewelrys"):GetChildren()[1]
  1570. local Info = Jewelry.Extra.Sign.Decal
  1571. Info:GetPropertyChangedSignal("Transparency"):Connect(function()
  1572. if Info.Transparency ~= 0 then
  1573. JewelryStatus.Text = "Open"
  1574. JewelryStatus.TextColor3 = Color3.new(0,1,0)
  1575. BankStatus.TextColor3 = Color3.new(0,1,0)
  1576. local cb = Instance.new("BindableFunction")
  1577. cb.OnInvoke = function(arg)
  1578. if arg == "Teleport" then
  1579. JailbreakTp(142, 18, 1365)
  1580. end
  1581. end
  1582. game:GetService("StarterGui"):SetCore("SendNotification",{
  1583. Title = "Jewelry is ready!",
  1584. Text = "Jewelry is ready!",
  1585. Duration = 15,
  1586. Button1 = "Dismiss",
  1587. Button2 = "Teleport",
  1588. Callback = cb
  1589. })
  1590. else
  1591. JewelryStatus.Text = "Closed"
  1592. JewelryStatus.TextColor3 = Color3.new(1,0,0)
  1593. end
  1594. end)
  1595. JewelryStatus.Text = Info.Transparency == 0 and "Closed" or "Open"
  1596. JewelryStatus.TextColor3 = Info.Transparency == 0 and Color3.new(1,0,0) or Color3.new(0,1,0)
  1597. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement