Advertisement
DEXLTH

Papa Scraps JB

Jul 19th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.95 KB | None | 0 0
  1. function
  2. local gui = game:GetObjects("rbxassetid://852724182")[1]
  3. gui.Parent = game.CoreGui
  4. gui.Holder.Label.Text = "Papa Scaps JailBreak GUI (Rasps Addition)"
  5. local auto = false
  6.  
  7. local pass = false
  8.  
  9. local jewel = false
  10.  
  11. local kill = false
  12.  
  13. local tazer = false
  14.  
  15. local Buttons = {
  16. ["Bank Lobby"] = CFrame.new(30,18, 851),
  17. ["Bank Vault"] = CFrame.new(23, 5, 800),
  18. ["Criminal Base"] = CFrame.new(1562,49,-1754),
  19. ["Gas Station"] = CFrame.new(-1522, 17, 696),
  20. ["Jewelry Store Top"] = CFrame.new(105, 85, 1322),
  21. ["Jewelry Store Bottom"] = CFrame.new(124, 17, 1317),
  22. ["Police Station"] = CFrame.new(-1139,17,-1584),
  23. Helicopter = CFrame.new(-1175, 57, -1578),
  24. ["Car Garage"] = CFrame.new(-363, 17, 1160),
  25. Prison = CFrame.new(-1417,18,-1707),
  26. }
  27.  
  28. local Functions = {
  29. ["Arrest All"] = function()
  30. for i,v in pairs(game.Players:GetPlayers()) do
  31. if v.TeamColor == game.Teams.Criminal.TeamColor then
  32.  
  33. end
  34. end
  35. end,
  36. ["Godmode (can't run)"] = function()
  37.  
  38. end,
  39. ["Kill aura"] = function()
  40. kill = not kill
  41. while wait(0.3) do
  42. if kill and game.Players.LocalPlayer.TeamColor == game.Teams.Criminal.TeamColor or game.Players.LocalPlayer.TeamColor == game.Teams.Prisoner.TeamColor then
  43. for i,v in pairs(game.Players:GetPlayers()) do
  44. pcall(function()
  45. if v and v.Character and v.Character.HumanoidRootPart and v.TeamColor == game.Teams.Police.TeamColor and ((v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 45) then
  46. for i = 1, 6 do
  47.  
  48. end
  49. end
  50. end)
  51. end
  52. end
  53. end
  54. end,
  55. ["Taser aura (only works on cop team)"] = function()
  56. tazer = not tazer
  57. while wait(0.3) do
  58. if tazer and game.Players.LocalPlayer.TeamColor == game.Teams.Police.TeamColor then
  59. for i,v in pairs(game.Players:GetPlayers()) do
  60. pcall(function()
  61. if v and v.Character and v.Character.HumanoidRootPart and v.TeamColor ~= game.Players.LocalPlayer.TeamColor and ((v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 45) then
  62. end
  63. end)
  64. end
  65. end
  66. end
  67. end,
  68. ["Instant Keycard"] = function()
  69. local picked = false
  70. for _,v in pairs(game.Players:GetChildren()) do
  71. if not picked and v.TeamColor == BrickColor.new("Bright blue") then
  72. picked = v.Name
  73. end
  74. end
  75. for i = 1, 3 do
  76. end
  77. end,
  78. }
  79.  
  80. function Tele(coords)
  81. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coords
  82. end
  83.  
  84. for i,v in pairs(Buttons) do
  85. local B = gui.T:Clone()
  86. B.Name = i
  87. B.Text = i
  88. B.Visible = true
  89. B.MouseButton1Down:connect(function()
  90. Tele(v)
  91. end)
  92. B.Parent = gui.Holder.Manual
  93. end
  94.  
  95. for i,v in pairs(Functions) do
  96. local B = gui.T:Clone()
  97. B.Name = i
  98. B.Text = i
  99. B.Visible = true
  100. B.MouseButton1Down:connect(function()
  101. v()
  102. end)
  103. B.Parent = gui.Holder.Manual
  104. end
  105.  
  106. gui.Holder.Jewelry.MouseButton1Down:connect(function()
  107. auto = false
  108. gui.Holder.Bank.Text = "Auto-Bank Rob: Off"
  109. jewel = not jewel
  110. if not jewel then
  111. gui.Holder.Jewelry.Text = "Auto-Jewelry Rob: Off"
  112. else
  113. gui.Holder.Jewelry.Text = "Auto-Jewelry Rob: On"
  114. if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled then
  115. Tele(Buttons["Jewelry Store Bottom"])
  116. if pass then
  117. repeat
  118. for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
  119. if v.Transparency ~= 1 then
  120. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  121. repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
  122. end
  123. end
  124. wait()
  125. until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000" or not jewel
  126. wait(0.1)
  127. Tele(Buttons["Criminal Base"])
  128. else
  129. repeat
  130. for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
  131. if v.Transparency ~= 1 then
  132. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  133. repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
  134. end
  135. end
  136. wait()
  137. until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$2,000" or not jewel
  138. wait(0.1)
  139. Tele(Buttons["Criminal Base"])
  140. end
  141. game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
  142. end
  143. end
  144. end)
  145.  
  146. gui.Holder.Bank.MouseButton1Down:connect(function()
  147. jewel = false
  148. gui.Holder.Jewelry.Text = "Auto-Jewelry Rob: Off"
  149. auto = not auto
  150. if not auto then
  151. gui.Holder.Bank.Text = "Auto-Bank Rob: Off"
  152. else
  153. gui.Holder.Bank.Text = "Auto-Bank Rob: On"
  154. if game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled then
  155. Tele(Buttons["Bank Lobby"])
  156. wait(1)
  157. Tele(Buttons["Bank Vault"])
  158. wait(1)
  159. if pass then
  160. repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$3,000"
  161. wait(0.1)
  162. Tele(Buttons["Criminal Base"])
  163. else
  164. repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$1,000"
  165. wait(0.1)
  166. Tele(Buttons["Criminal Base"])
  167. end
  168. game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
  169. end
  170. end
  171. end)
  172.  
  173. if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled then
  174. gui.Holder.Jewelry.Status.Text = "Jewelry: Open"
  175. else
  176. gui.Holder.Jewelry.Status.Text = "Jewelry: Closed"
  177. end
  178.  
  179.  
  180. if game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled then
  181. gui.Holder.Bank.Status.Text = "Bank: Open"
  182. else
  183. gui.Holder.Bank.Status.Text = "Bank: Closed"
  184. end
  185.  
  186. if game:GetService("MarketplaceService"):PlayerOwnsAsset(game.Players.LocalPlayer, 739192969) then
  187. pass = true
  188. end
  189.  
  190. game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Changed:connect(function()
  191. wait(0.8)
  192. if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled then
  193. gui.Holder.Jewelry.Status.Text = "Jewelry: Open"
  194. else
  195. gui.Holder.Jewelry.Status.Text = "Jewelry: Closed"
  196. end
  197. if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled and jewel and not auto then
  198. Tele(Buttons["Jewelry Store Bottom"])
  199. if pass then
  200. repeat
  201. for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
  202. if v.Transparency ~= 1 then
  203. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  204. repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
  205. end
  206. end
  207. wait()
  208. until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000" or not jewel
  209. wait(0.1)
  210. Tele(Buttons["Criminal Base"])
  211. else
  212. repeat
  213. for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
  214. if v.Transparency ~= 1 then
  215. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  216. repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
  217. end
  218. end
  219. wait()
  220. until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$2,000" or not jewel
  221. wait(0.1)
  222. Tele(Buttons["Criminal Base"])
  223. end
  224. game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
  225. end
  226. end)
  227.  
  228. game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Changed:connect(function()
  229. wait(0.8)
  230. if game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled then
  231. gui.Holder.Bank.Status.Text = "Bank: Open"
  232. else
  233. gui.Holder.Bank.Status.Text = "Bank: Closed"
  234. end
  235. if auto and game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled and not jewel then
  236. Tele(Buttons["Bank Lobby"])
  237. wait(1)
  238. Tele(Buttons["Bank Vault"])
  239. wait(1)
  240. if pass then
  241. repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$3,000"
  242. wait(0.1)
  243. Tele(Buttons["Criminal Base"])
  244. else
  245. repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$1,000"
  246. wait(0.1)
  247. Tele(Buttons["Criminal Base"])
  248. end
  249. game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
  250. end
  251. end)
  252. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement