alvarodhc_hacks

Untitled

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