SHARE
TWEET

jailbreak

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