Advertisement
Guest User

by game roblox

a guest
Oct 19th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.05 KB | None | 0 0
  1. ------------------------------------- [Quick Settings] ------------------------------------------
  2. -- note: changing this values can make this script unstable
  3. Movment = false -- Enables or disables player movment (by default in false to avoid bugs)
  4. Noclip = true -- Not toggable
  5. Invisible = false -- Not aviable in this version
  6.  
  7. bank_cooldown = 3000
  8. cratedrop_cooldown = 2000
  9. nightclub_cooldown = 6000
  10. casino_cooldown = 4000
  11.  
  12. cant_rob = "Can't rob the %s because %s"
  13. -------------------------------------------------------------------------------------------------
  14.  
  15. local busy = false
  16. local busy_with = "busy_with"
  17. local thing = "thing"
  18. local robbingBank = false
  19. local robbingNightclub = false
  20. local robbingCasino = false
  21. local robbingJewerly = false
  22.  
  23. function noclip()
  24. game:GetService("RunService").Stepped:connect(function()
  25. game.Players.LocalPlayer.Character.Head.CanCollide = false
  26. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  27. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  28. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  29. end)
  30. game.Players.LocalPlayer.Character.HumanoidRootPart.Changed:connect(function()
  31. game.Players.LocalPlayer.Character.Head.CanCollide = false
  32. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  33. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  34. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  35. end)
  36. end
  37.  
  38.  
  39. function movment()
  40. if Movment == false then
  41. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  42. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  43. warn("Movment disabled")
  44. else
  45. --girlfriend:Kiss()
  46. end
  47. end
  48.  
  49. local robCashRegister = coroutine.create(function()
  50. while wait(5) do
  51. pcall(function()
  52. if busy == false and robbingBank == false and robbingNightclub == false then
  53. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  54. if v.Name == "CashRegister" then
  55. local part = v:FindFirstChildOfClass("Part")
  56. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  57. busy = true
  58. busy_with = "robbing cash registers"
  59. wait(1.5)
  60. local pos = v.SmashCash.Position
  61. for i = 1,10 do
  62. wait(0.3)
  63. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  64. end
  65. wait(0.5)
  66. if v.SmashCash.SmashCash.Event then
  67. v.SmashCash.SmashCash.Event:FireServer()
  68. else
  69. busy = false
  70. end
  71. wait(2)
  72. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  73.  
  74. else
  75. busy = false
  76. end
  77. end
  78. end
  79. end
  80. else
  81. print(string.format(cant_rob, "cash registers", busy_with))
  82. end
  83. end)
  84. end
  85. end)
  86.  
  87. local robDiamondBox = coroutine.create(function()
  88. while wait(5) do
  89. pcall(function()
  90. if busy == false and robbingBank == false and robbingNightclub == false then
  91. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  92. if v.Name == "DiamondBox" then
  93. local part = v:FindFirstChildOfClass("Part")
  94. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  95. busy = true
  96. busy_with = "robbing diamond boxes"
  97. wait(1.5)
  98. local pos = v.SmashCash.Position
  99. for i = 1,10 do
  100. wait(0.3)
  101. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  102. end
  103. wait(0.3)
  104. v.SmashCash.SmashCash.Event:FireServer()
  105. wait(2)
  106. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  107.  
  108. else
  109. busy = false
  110. end
  111. end
  112. end
  113. end
  114. else
  115. print(string.format(cant_rob, "diamond boxes", busy_with))
  116. end
  117. end)
  118. end
  119. end)
  120.  
  121. local robSafe = coroutine.create(function()
  122. while wait(5) do
  123. pcall(function()
  124. if busy == false and robbingBank == false and robbingNightclub == false then
  125. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  126. if v.Name == "Safe" then
  127. local part = v:FindFirstChildOfClass("Part")
  128. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  129. busy = true
  130. busy_with = "robbing safes"
  131. wait(5)
  132. local pos = v.SmashCash.Position
  133. for i = 1,10 do
  134. wait(0.3)
  135. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  136. end
  137. wait(0.3)
  138. v.SmashCash.SmashCash.Event:FireServer()
  139. wait(2)
  140. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  141.  
  142. else
  143. busy = false
  144. end
  145. end
  146. end
  147. end
  148. else
  149. print(string.format(cant_rob, "safes", busy_with))
  150. end
  151. end)
  152. end
  153. end)
  154.  
  155. local robTipJar = coroutine.create(function()
  156. while wait(5) do
  157. pcall(function()
  158. if busy == false and robbingBank == false and robbingNightclub == false then
  159. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  160. if v.Name == "TipJar" then
  161. local part = v:FindFirstChildOfClass("Part")
  162. if part.Name == "SmashCash" and robbingBank == false and robbingNightclub == false then
  163. busy = true
  164. busy_with = "robbing tip jars"
  165. local pos = v.SmashCash.Position
  166. for i = 1,10 do
  167. wait(0.3)
  168. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  169. end
  170. wait(0.3)
  171. v.SmashCash.SmashCash.Event:FireServer()
  172. wait(2)
  173. if part.Name == "SmashCash" and robbingBank == false and robbingNightclub == false then
  174.  
  175. else
  176. busy = false
  177. end
  178. end
  179. end
  180. end
  181. else
  182. print(string.format(cant_rob, "tip jars", busy_with))
  183. end
  184. end)
  185. end
  186. end)
  187.  
  188. local robCash = coroutine.create(function()
  189. while wait(5) do
  190. pcall(function()
  191. if busy == false and robbingBank == false and robbingNightclub == false then
  192. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  193. if v.Name == "Cash" then
  194. local part = v:FindFirstChildOfClass("MeshPart")
  195. if part.Name == "Cash" and robbingBank == false and robbingNightclub == false then
  196. busy = true
  197. busy_with = "robbing cash"
  198. local pos = v.Cash.Position
  199. for i = 1,10 do
  200. wait(0.3)
  201. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  202. end
  203. wait(0.3)
  204. v.Cash.Cash.Event:FireServer()
  205. wait(2)
  206. if part.Name == "Cash" and robbingBank == false and robbingNightclub == false then
  207.  
  208. else
  209. busy = false
  210. end
  211. end
  212. end
  213. end
  214. else
  215. print(string.format(cant_rob, "cash", busy_with))
  216. end
  217. end)
  218. end
  219. end)
  220.  
  221. local robTv = coroutine.create(function()
  222. while wait(5) do
  223. pcall(function()
  224. if busy == false and robbingBank == false and robbingNightclub == false then
  225. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  226. if v.Name == "TV" then
  227. local part = v:FindFirstChildOfClass("Part")
  228. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  229. busy = true
  230. busy_with = "robbing TVs"
  231. wait(3)
  232. local pos = v.StealTV.Position
  233. for i = 1,10 do
  234. wait(0.3)
  235. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  236. end
  237. wait(0.3)
  238. v.StealTV.StealTV.Event:FireServer()
  239. wait(2)
  240. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  241.  
  242. else
  243. busy = false
  244. end
  245. end
  246. end
  247. end
  248. else
  249. print(string.format(cant_rob, "TVs", busy_with))
  250. end
  251. end)
  252. end
  253. end)
  254.  
  255. local robDropCrate = coroutine.create(function()
  256. while wait(5) do
  257. pcall(function()
  258. if busy == false and robbingBank == false and robbingNightclub == false then
  259. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  260. if v.Name == "DropCrate" then
  261. local part = v:FindFirstChildOfClass("Part")
  262. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  263. busy = true
  264. busy_with = "robbing drop crates"
  265. local pos = v.DropCrate.Position
  266. for i = 1,10 do
  267. wait(0.3)
  268. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  269. end
  270. wait(0.3)
  271. v.DropCrate.DropCrate.Event:FireServer()
  272. wait(2)
  273. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  274.  
  275. else
  276. busy = false
  277. end
  278. end
  279. end
  280. end
  281. else
  282. print(string.format(cant_rob, "drop crates", busy_with))
  283. end
  284. end)
  285. end
  286. end)
  287.  
  288. local robAtm = coroutine.create(function()
  289. while wait(5) do
  290. pcall(function()
  291. if busy == false and robbingBank == false and robbingNightclub == false then
  292. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  293. if v.Name == "ATM" then
  294. local part = v:FindFirstChildOfClass("Part")
  295. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  296. busy = true
  297. busy_with = "robbing ATMs"
  298. wait(1.5)
  299. local pos = v.ATM.Position
  300. for i = 1,10 do
  301. wait(0.3)
  302. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  303. end
  304. wait(0.3)
  305. v.ATM.ATM.Event:FireServer()
  306. wait(2)
  307. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  308.  
  309. else
  310. busy = false
  311. end
  312. end
  313. end
  314. end
  315. else
  316. print(string.format(cant_rob, "ATMs", busy_with))
  317. end
  318. end)
  319. end
  320. end)
  321.  
  322. local robSlotmachine = coroutine.create(function()
  323. while wait(5) do
  324. pcall(function()
  325. if busy == false and robbingBank == false and robbingNightclub == false then
  326. for i, v in pairs(workspace.ObjectSelection:GetChildren()) do
  327. if v.Name == "SlotMachine" then
  328. local part = v:FindFirstChildOfClass("Part")
  329. if part.Name ~= "Nope" and part.name == "SlotMachine" and robbingBank == false and robbingNightclub == false then
  330. busy = true
  331. busy_with = "robbing slot machines"
  332. wait(1.5)
  333. local pos = v.SlotMachine.Position
  334. for i = 1, 1,10 do
  335. wait(0.3)
  336. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  337. end
  338. wait(0.5)
  339. if v.SlotMachine.SlotMachine then
  340. v.SlotMachine.SlotMachine.Event:FireServer()
  341. else
  342. busy = false
  343. end
  344. wait(2)
  345. if part.Name ~= "Nope" and robbingBank == false and robbingNightclub == false then
  346. else
  347. busy = false
  348. end
  349. end
  350. end
  351. end
  352. else
  353. print(string.format(cant_rob, "slot machines", busy_with))
  354. end
  355. end)
  356. end
  357. end)
  358.  
  359. local robBank = coroutine.create(function()
  360. while wait(1) do
  361. pcall(function()
  362. if game.ReplicatedStorage.HeistStatus.Bank.Locked.Value == false and robbingNightclub == false then
  363. robbingBank = true
  364. busy = true
  365. busy_with = "robbing bank"
  366. warn("All robs have been paused to rob the bank")
  367. wait(5)
  368. --[[for i, v in pairs (workspace.ObjectSelection:GetChildren()) do
  369. if v.Name == "HackComputer" then
  370. for i = 1,10 do
  371. wait(1.5)
  372. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(636.778, 27.5895, 529.505)
  373. v.HackComputer.HackComputer.Event:FireServer()
  374. end
  375. v.HackComputer.HackComputer.Event:FireServer()
  376. wait(1)
  377. v.HackComputer.HackComputer.Event:FireServer()
  378. wait(1.5)
  379. return
  380. end
  381. wait(3)
  382. break
  383. end]]
  384. for i = 1,10 do
  385. wait(1)
  386. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(739,0,488)
  387. end
  388. wait(.5)
  389. local pos = workspace.Bank.MoneyBags["Money Bag"].Position
  390. for i = 1,10 do
  391. wait(1)
  392. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = pos
  393. end
  394. wait(25)
  395. for i = 1,10 do
  396. wait(0.5)
  397. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(2138,25,358)
  398. end
  399. robbingBank = false
  400. busy = false
  401. wait(bank_cooldown)
  402. else
  403. warn(string.format(cant_rob, "bank", "it's closed"))
  404. end
  405. end)
  406. end
  407. end)
  408.  
  409. local robNightclub = coroutine.create(function()
  410. while wait(1) do
  411. pcall(function()
  412. if game.ReplicatedStorage.HeistStatus.Club.Locked.Value == false then
  413. robbingNightclub = true
  414. busy = true
  415. busy_with = "robbing night club"
  416. wait(5)
  417. warn("All robs have been paused to rob the night club")
  418. for i = 1,10 do
  419. wait(1)
  420. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1363,43,-151)
  421. end
  422. wait(3)
  423.  
  424. for i = 1,10 do
  425. wait(0.5)
  426. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1349,142,-100)
  427. end
  428. wait(0.3)
  429. workspace.ObjectSelection.HackKeyPad.HackKeyPad.HackKeyPad.Event:FireServer()
  430. wait(3)
  431.  
  432. for i = 1,10 do
  433. wait(0.5)
  434. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1361,142,-155)
  435. end
  436. wait(35)
  437.  
  438. for i = 1,10 do
  439. wait(1)
  440. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(2138,25,358)
  441. end
  442. robbingNightclub = false
  443. busy = false
  444. wait(nightclub_cooldown)
  445. else
  446. warn(string.format(cant_rob, "night club", "it's closed"))
  447. end
  448. end)
  449. end
  450. end)
  451.  
  452. local robCasino = coroutine.create(function()
  453. while wait(1) do
  454. pcall(function()
  455. if game.ReplicatedStorage.HeistStatus.Casino.Locked.Value == false then
  456. robbingCasino = true
  457. busy = true
  458. busy_with = "robbing casino"
  459. --[[for i, v in pairs (workspace.ObjectSelection:GetChildren()) do
  460. if v.Name == "HackComputer" then
  461. for i = 1,10 do
  462. wait(1.5)
  463. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(636.778, 27.5895, 529.505)
  464. v.HackComputer.HackComputer.Event:FireServer()
  465. end
  466. v.HackComputer.HackComputer.Event:FireServer()
  467. wait(1)
  468. v.HackComputer.HackComputer.Event:FireServer()
  469. wait(1.5)
  470. return
  471. end
  472. wait(15)
  473. break
  474. end]]
  475. warn("All robs have been paused to rob the casino")
  476. wait(5)
  477. for i = 1,10 do
  478. wait(0.5)
  479. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(1646,142,-155)
  480. end
  481. wait(35)
  482. for i = 1,10 do
  483. wait(0.5)
  484. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Vector3.new(2138,25,358)
  485. end
  486. robbingCasino = false
  487. busy = false
  488. wait(casino_cooldown)
  489. else
  490. warn(string.format(cant_rob, "casino", "it's closed"))
  491. end
  492. end)
  493. end
  494. end)
  495.  
  496. noclip()
  497. movment()
  498. wait(0.5)
  499. coroutine.resume(robNightclub)
  500. wait(1)
  501. coroutine.resume(robBank)
  502. coroutine.resume(robCashRegister)
  503. coroutine.resume(robDiamondBox)
  504. coroutine.resume(robSafe)
  505. coroutine.resume(robTipJar)
  506. coroutine.resume(robCash)
  507. coroutine.resume(robTv)
  508. --coroutine.resume(robDropCrate)
  509. coroutine.resume(robAtm)
  510. coroutine.resume(robSlotmachine)
  511.  
  512. while wait(10) do
  513. movment()
  514. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement