Advertisement
SomeRBXperson_

Jailbreak GUI

Nov 12th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1. --Subscribe to MaiLeane
  2. -- https://www.youtube.com/channel/UCRlZT_mfynhXb_uJlRZe_YQ
  3. --[[
  4.  
  5. Welcome to AutoRob V1.1!
  6.  
  7. AutoRob is a little grinding tool developed by PlutoGFX to automatically
  8. generate money. It's pretty simple on paper:
  9.  
  10. THE BANK OPENS
  11. -> Enter the bank
  12. -> Place the explosives
  13. -> Collect the money
  14. -> Escape
  15.  
  16. This script attempts to automate that process, leaving you with plenty of
  17. spare money in your pockets! I hope that you find this useful and tune
  18. in for future updates!
  19.  
  20. \/ SCROLL DOWN FOR CHANGELOG \/
  21.  
  22. CHANGELOG
  23.  
  24. V1
  25. +Created AutoRob
  26. +Successfully Automated Bank Robbery
  27.  
  28. V1.1
  29. +Optimized Writing to The 'Status' TextLabel
  30. +Detects If Player is Criminal / Prisoner, and NOT Police
  31. +Automatically Escapes If Police Get Too Close
  32. -Removed The "Placing Dynamite" Portion
  33. =Left The "Placing Dynamite" Portion Commented
  34.  
  35. V1.2
  36. TODO: Detect If Player is Criminal / Prisoner, and NOT Police
  37. TODO: Check For Guards Entering the Bank to Escape Quickly
  38. TODO: Check If Automated Process is Interrupted
  39. TODO: Basic Bug Fixes
  40. TODO: Optimize. Optimize. Optimize.
  41.  
  42. ]]
  43.  
  44.  
  45. function Get(model)
  46. return game:GetService'Workspace'[tostring(model)]:GetChildren()[1].Extra:FindFirstChild'Sign'.Decal;
  47. end
  48.  
  49. function goto(x, y, z)
  50. game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x, y, z)
  51. end
  52.  
  53. function Scan(Start, End)
  54. Result = {}
  55. Box = Region3.new(Start, End)
  56. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Box,nil,100)) do
  57. if Part.Parent ~= nil then
  58. if Game:GetService("Players"):findFirstChild(Part.Parent.Name) then
  59. if Part.Parent.Humanoid ~= nil then
  60. table.insert(Result, Game:GetService("Players"):WaitForChild(Part.Parent.Name))
  61. end
  62. end
  63. end
  64. end
  65. return Result
  66. end
  67.  
  68. local toggle = false;
  69.  
  70. local PlutoGUI = Instance.new("ScreenGui")
  71. PlutoGUI.Name = "PlutoGUI"
  72. PlutoGUI.Parent = game.CoreGui
  73. PlutoGUI.ResetOnSpawn = false
  74. -------
  75. local Main = Instance.new("Frame")
  76. Main.BackgroundColor3 = Color3.new(0.647059, 0.643137, 0.654902)
  77. Main.BorderColor3 = Color3.new(1, 1, 1)
  78. Main.BorderSizePixel = 2
  79. Main.Position = UDim2.new(0, 22, 0, 500)
  80. Main.Size = UDim2.new(0, 200, 0, 150)
  81. Main.ClipsDescendants = true
  82. Main.Draggable = true
  83. Main.Parent = PlutoGUI
  84. -------
  85. local Title = Instance.new("TextLabel")
  86. Title.Active = true
  87. Title.BorderColor3 = Color3.new(1, 1, 1)
  88. Title.BorderSizePixel = 2
  89. Title.Name = "Title"
  90. Title.Size = UDim2.new(0, 200, 0, 25)
  91. Title.Font = Enum.Font.Legacy
  92. Title.FontSize = Enum.FontSize.Size10
  93. Title.Text = "MaiLeane's AutoRob | OFF"
  94. Title.Parent = Main
  95. -------
  96. local Status = Instance.new("TextLabel")
  97. Status.Active = true
  98. Status.BackgroundTransparency = 1
  99. Status.BorderColor3 = Color3.new(1, 1, 1)
  100. Status.BorderSizePixel = 2
  101. Status.Name = "Status"
  102. Status.Position = UDim2.new(0, 0, 0, 30)
  103. Status.Size = UDim2.new(0, 200, 0, 50)
  104. Status.Font = Enum.Font.Legacy
  105. Status.FontSize = Enum.FontSize.Size10
  106. Status.Text = "Currently Off"
  107. Status.Parent = Main
  108. -------
  109. local Toggle = Instance.new("TextButton")
  110. Toggle.Active = true
  111. Toggle.BorderColor3 = Color3.new(1, 1, 1)
  112. Toggle.Name = "Toggle"
  113. Toggle.Position = UDim2.new(0, 25, 0, 90)
  114. Toggle.Selectable = true
  115. Toggle.Size = UDim2.new(0, 150, 0, 50)
  116. Toggle.Style = Enum.ButtonStyle.Custom
  117. Toggle.Font = Enum.Font.Legacy
  118. Toggle.FontSize = Enum.FontSize.Size14
  119. Toggle.Text = "Turn ON"
  120. Toggle.Parent = Main
  121. Toggle.MouseButton1Down:connect(function()
  122. if(toggle==true) then
  123. toggle = false;
  124. Title.Text = "PlutoGFX's AutoRob | OFF"
  125. Status.Text = "Currently Off"
  126. Toggle.Text = "Turn ON"
  127. else
  128. if(game:GetService('Teams').Police == game:GetService('Players').LocalPlayer.Team) then
  129. Status.Text = "Join Prisoner Team"
  130. wait(3)
  131. Status.Text = "Currently Off"
  132. return
  133. end
  134. toggle = true;
  135. Title.Text = "PlutoGFX's AutoRob | ON"
  136. Status.Text = "Waiting..."
  137. Toggle.Text = "Turn OFF"
  138. end
  139. end)
  140.  
  141. print("\n\n-------------------------\nAutoRob V1 by PlutoGFX loaded!\n-------------------------\n\n");
  142. local bank = Get('Banks')
  143.  
  144. bank.Changed:connect(function(prop)
  145. if(toggle) then
  146. if prop == 'Transparency' then
  147. if bank.Transparency ~= 0 then
  148. Status.Text = "Bank is Open"
  149. wait(3)
  150. Status.Text = "Triggering Alarm"
  151. if(toggle) then goto(42, 18, 850) end
  152. wait(3)
  153. --Status.Text = "Placing Dynamite"
  154. --if(toggle) then goto(32, 2.6, 818.5) end
  155. --wait(15)
  156. Status.Text = "Looting the Bank"
  157. if(toggle) then goto(23, 0.5, 801.5) end
  158. local i = 0
  159. while(i<6) do
  160. wait(5)
  161. area = Scan(Vector3.new(30, 3.5, 825), Vector3.new(100.5, 0.5, 808))
  162. for i,v in pairs(area) do
  163. if(game:GetService('Teams').Police == v.Team) then
  164. i = 6
  165. end
  166. print(v.Name)
  167. end
  168. i = i + 1
  169. end
  170. Status.Text = "Escaping"
  171. if(toggle) then goto(226.5, 18, 1585.5) end
  172. wait(3)
  173. Status.Text = "Completed Cycle!"
  174. wait(3)
  175. Status.Text = "Waiting..."
  176. end
  177. end
  178. end
  179. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement