Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.53 KB | None | 0 0
  1. --[[
  2. TO DO LIST:
  3. purchase assets
  4. place infinite equipment
  5. card reader esp
  6. damage (long term)
  7. --]]
  8.  
  9.  
  10.  
  11. -- Variables
  12. plr = game.Players.LocalPlayer
  13. mouse = plr:GetMouse()
  14. pir = true
  15. if plr.PlayerGui:FindFirstChild('notofucker') then
  16. plr.PlayerGui.notofucker:Destroy()
  17. end
  18. active = false
  19. lootnum = 0
  20. pagers = 0
  21. espguard = false
  22. boxesp = false
  23. camesp = false
  24. camloop = false
  25. cardesp = false
  26. manageresp = false
  27. breach = false
  28. local gui = Instance.new('ScreenGui', plr.PlayerGui)
  29. local main = Instance.new('Frame', gui)
  30. local frame = Instance.new('Frame', main)
  31. local esphandler = Instance.new('Folder', main)
  32. local folder = Instance.new('Folder', frame)
  33. local box = Instance.new('TextBox', main)
  34. local deletefolder = Instance.new('Folder', main)
  35. -- Tables
  36. commands = {'objective', 'glass/break', 'glass/damage', 'unlock', 'loot', 'planks', 'safecrack', 'boxes', 'destroygui', 'card', 'esp/guard', 'esp/card', 'esp/cams', 'esp/manager', 'esp/boxes', 'loopcams','pager', 'tie','body', 'startdrill', 'grab/body', 'apply', 'grab/loot', 'grab/drill', 'breach'}
  37. -- Define
  38. gui.Name = 'notofucker'
  39. folder.Name = 'storage'
  40. esphandler.Name = 'ESP'
  41.  
  42. main.Name = 'Main'
  43. main.BackgroundColor3 = Color3.new(255, 0, 255)
  44. main.BackgroundTransparency = 1
  45. main.BorderSizePixel = 0
  46. main.Position = UDim2.new(0.05, 0, 0.161, 0)
  47. main.Size = UDim2.new(0, 600, 0, 600)
  48.  
  49. frame.Name = 'LFrame'
  50. frame.BackgroundColor3 = Color3.new(0.2431, 0.2431, 0.2431)
  51. frame.BorderSizePixel = 2
  52. frame.BorderColor3 = Color3.new(1, 1, 1)
  53. frame.Position = UDim2.new(0, 0, 0, -25)
  54. frame.Size = UDim2.new(0, 1071, 0, 539)
  55.  
  56. box.Name = 'TB'
  57. box.TextColor3 = Color3.new(0, 1, 0)
  58. box.BackgroundColor3 = Color3.new(0.2431, 0.2431, 0.2431)
  59. box.BorderSizePixel = 2
  60. box.BorderColor3 = Color3.new(1, 1, 1)
  61. box.Position = UDim2.new(0, 0, 0.9, 0)
  62. box.Size = UDim2.new(0, 1071, 0, 30)
  63. box.ClearTextOnFocus = true
  64. box.MultiLine = false
  65. box.Font = 'SourceSansBold'
  66. box.Text = 'Enter command (press \'t\' to focus )'
  67. box.TextSize = 15
  68. box.TextTransparency = .2
  69. box.TextXAlignment = 'Left'
  70. -- Extras
  71. title = plr.PlayerGui.MainGui:WaitForChild('PlayerStats').LocalPlayerStats.PlayerName.PlayerTitle
  72. rank = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.PlayerName.PlayerRank
  73. dot = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.PlayerName.Frame.ColorDot
  74. ammo = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.PrimaryAmmo.Ammo
  75. sammo = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.SecondaryAmmo.Ammo
  76. stammo = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.SecondaryAmmo.TotalAmmo
  77. tammo = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.PrimaryAmmo.TotalAmmo
  78. ties = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.Supplies.CableTies.remaining
  79. gren = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.Supplies.Grenades.remaining
  80. equip = plr.PlayerGui.MainGui.PlayerStats.LocalPlayerStats.Supplies.Equipment.remaining
  81. rank.Text = '1337'
  82. if pir == false then
  83. for i,v in pairs (plr.PlayerGui.MainGui.PlayerStats:GetChildren()) do
  84. if v.Name ~= 'LocalPlayerStats' then
  85. v.PlayerName.PlayerTitle.Text = 'furry faggot'
  86. v.PlayerName.PlayerTitle.TextColor3 = Color3.new(1, 0, 0)
  87. v.PlayerName.PlayerRank.Text = '(gay)'
  88. v.PlayerName.PlayerRank.TextColor3 = Color3.new(1, 0, 0)
  89. v.PlayerName.Frame.ColorDot.ImageColor3 = Color3.new(1, 0, 0)
  90. end
  91. end
  92. end
  93. spawn(function()
  94. while wait() do
  95. for i = 0.6666, 1, .025 do
  96. title.TextColor3 = Color3.new(0, i, 1)
  97. rank.TextColor3 = Color3.new(0, i, 1)
  98. ammo.TextColor3 = Color3.new(0, i, 1)
  99. sammo.TextColor3 = Color3.new(0, i, 1)
  100. gren.TextColor3 = Color3.new(0, i, 1)
  101. equip.TextColor3 = Color3.new(0, i, 1)
  102. tammo.TextColor3 = Color3.new(0, i, 1)
  103. stammo.TextColor3 = Color3.new(0, i, 1)
  104. ties.TextColor3 = Color3.new(0, i, 1)
  105. dot.ImageColor3 = Color3.new(0, i, 1)
  106. wait()
  107. end
  108. for i = 0, 1, .025 do
  109. title.TextColor3 = Color3.new(i, 1, 1)
  110. rank.TextColor3 = Color3.new(i, 1, 1)
  111. ammo.TextColor3 = Color3.new(i, 1, 1)
  112. gren.TextColor3 = Color3.new(i, 1, 1)
  113. equip.TextColor3 = Color3.new(i, 1, 1)
  114. sammo.TextColor3 = Color3.new(i, 1, 1)
  115. tammo.TextColor3 = Color3.new(i, 1, 1)
  116. stammo.TextColor3 = Color3.new(i, 1, 1)
  117. ties.TextColor3 = Color3.new(i, 1, 1)
  118. dot.ImageColor3 = Color3.new(i, 1, 1)
  119. wait()
  120. end
  121. -- 1, 1, 1
  122. for i = 1, 0, -.025 do
  123. title.TextColor3 = Color3.new(1, 1, i)
  124. rank.TextColor3 = Color3.new(1, 1, i)
  125. ammo.TextColor3 = Color3.new(1, 1, i)
  126. gren.TextColor3 = Color3.new(1, 1, i)
  127. equip.TextColor3 = Color3.new(1, 1, i)
  128. sammo.TextColor3 = Color3.new(1, 1, i)
  129. tammo.TextColor3 = Color3.new(1, 1, i)
  130. stammo.TextColor3 = Color3.new(1, 1, i)
  131. ties.TextColor3 = Color3.new(1, 1, i)
  132. dot.ImageColor3 = Color3.new(1, 1, i)
  133. wait()
  134. end
  135. for i = 1, 0, -.025 do
  136. title.TextColor3 = Color3.new(1, i, 0)
  137. rank.TextColor3 = Color3.new(1, i, 0)
  138. ammo.TextColor3 = Color3.new(1, i, 0)
  139. gren.TextColor3 = Color3.new(1, i, 0)
  140. equip.TextColor3 = Color3.new(1, i, 0)
  141. sammo.TextColor3 = Color3.new(1, i, 0)
  142. tammo.TextColor3 = Color3.new(1, i, 0)
  143. stammo.TextColor3 = Color3.new(1, i, 0)
  144. ties.TextColor3 = Color3.new(1, i, 0)
  145. dot.ImageColor3 = Color3.new(1, i, 0)
  146. wait()
  147. end
  148. for i = 0, 1, .025 do
  149. title.TextColor3 = Color3.new(1, 0, i)
  150. rank.TextColor3 = Color3.new(1, 0, i)
  151. ammo.TextColor3 = Color3.new(1, 0, i)
  152. gren.TextColor3 = Color3.new(1, 0, i)
  153. equip.TextColor3 = Color3.new(1, 0, i)
  154. sammo.TextColor3 = Color3.new(1, 0, i)
  155. tammo.TextColor3 = Color3.new(1, 0, i)
  156. stammo.TextColor3 = Color3.new(1, 0, i)
  157. ties.TextColor3 = Color3.new(1, 0, i)
  158. dot.ImageColor3 = Color3.new(1, 0, i)
  159. wait()
  160. end
  161. for i = 0, 0.6666 , .025 do
  162. title.TextColor3 = Color3.new(1, i, 1)
  163. rank.TextColor3 = Color3.new(1, i, 1)
  164. ammo.TextColor3 = Color3.new(1, i, 1)
  165. gren.TextColor3 = Color3.new(1, i, 1)
  166. equip.TextColor3 = Color3.new(1, i, 1)
  167. sammo.TextColor3 = Color3.new(1, i, 1)
  168. tammo.TextColor3 = Color3.new(1, i, 1)
  169. stammo.TextColor3 = Color3.new(1, i, 1)
  170. ties.TextColor3 = Color3.new(1, i, 1)
  171. dot.ImageColor3 = Color3.new(1, i, 1)
  172. wait()
  173. end
  174. for i = 1, 0, -.025 do
  175. title.TextColor3 = Color3.new(i, 0.6666, 1)
  176. rank.TextColor3 = Color3.new(i, 0.6666, 1)
  177. ammo.TextColor3 = Color3.new(i, 0.6666, 1)
  178. gren.TextColor3 = Color3.new(i, 0.6666, 1)
  179. equip.TextColor3 = Color3.new(i, 0.6666, 1)
  180. sammo.TextColor3 = Color3.new(i, 0.6666, 1)
  181. tammo.TextColor3 = Color3.new(i, 0.6666, 1)
  182. stammo.TextColor3 = Color3.new(i, 0.6666, 1)
  183. ties.TextColor3 = Color3.new(i, 0.6666, 1)
  184. dot.ImageColor3 = Color3.new(i, 0.6666, 1)
  185. wait()
  186. end
  187. end
  188. end)
  189.  
  190.  
  191. -- Functions
  192. local function createText(val, extra)
  193. for i,v in pairs (folder:GetChildren()) do
  194. if v.Position == UDim2.new(0, 0, 0, 0) then
  195. v:Destroy()
  196. else
  197. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale, v.Position.Y.Offset - 15)
  198. end
  199. end
  200. h = Instance.new('TextLabel', folder)
  201. h.Name = 'guiText'
  202. if extra ~= '' then
  203. h.Text = ' > '..val..' ['..tostring(extra)..']'
  204. else
  205. h.Text = ' > '..val
  206. end
  207. h.TextColor3 = Color3.new(0, 1, 0)
  208. h.TextTransparency = .2
  209. h.BackgroundTransparency = 1
  210. h.Position = UDim2.new(0, 0, 0, 510)
  211. h.Size = UDim2.new(0, 569, 0, 20)
  212. h.TextSize = 12
  213. h.TextXAlignment = 'Left'
  214. h.Font = 'SourceSansBold'
  215. end
  216. local function createSpecial(val, extra)
  217. for i,v in pairs (folder:GetChildren()) do
  218. if v.Position == UDim2.new(0, 0, 0, 0) then
  219. v:Destroy()
  220. else
  221. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale, v.Position.Y.Offset - 15)
  222. end
  223. end
  224. h = Instance.new('TextLabel', folder)
  225. h.Name = 'guiText'
  226. if extra ~= '' then
  227. h.Text = ' > '..val..' ['..extra..']'
  228. else
  229. h.Text = ' > '..val
  230. end
  231. h.TextColor3 = Color3.new(1, 0, 0)
  232. h.TextTransparency = .2
  233. h.BackgroundTransparency = 1
  234. h.Position = UDim2.new(0, 0, 0, 510)
  235. h.Size = UDim2.new(0, 569, 0, 20)
  236. h.TextSize = 12
  237. h.TextXAlignment = 'Left'
  238. h.Font = 'SourceSansBold'
  239. end
  240. function findmanager()
  241. for i,v in pairs (game.Workspace.Citizens:GetChildren()) do
  242. if v:FindFirstChild('Type') then
  243. if v.Type.Value == 'Manager' then
  244. return(tostring(v))
  245. end
  246. end
  247. end
  248. end
  249. function findmanagerObject()
  250. for i,v in pairs (game.Workspace.Citizens:GetChildren()) do
  251. if v:FindFirstChild('Type') then
  252. if v.Type.Value == 'Manager' then
  253. return v
  254. end
  255. end
  256. end
  257. end
  258. function findNum(location, text)
  259. local p = 0
  260. for i,v in pairs (location:GetChildren()) do
  261. if v.Name == 'Azure' then
  262. p = p + 1
  263. end
  264. if i == #location:GetChildren() then
  265. return p, text
  266. end
  267. end
  268. end
  269. -- Start
  270. createSpecial('GUI created by Sinsane, enjoy!', '')
  271. createSpecial('Current list of commands:', '')
  272. for i,v in pairs (commands) do
  273. createText(v, '')
  274. end
  275. createSpecial('Pres q to toggle the GUI', '')
  276.  
  277. mouse.KeyDown:connect(function(key)
  278. if key == 'z' then
  279. if breach == true then
  280. local obj = Instance.new('ObjectValue', deletefolder)
  281. local tran = Instance.new('IntValue', obj)
  282. obj.Name = 'Object'
  283. obj.Value = mouse.Target
  284. tran.Name = 'Transp'
  285. tran.Value = mouse.Target.Transparency
  286. mouse.Target.CanCollide = false
  287. mouse.Target.Transparency = .5
  288. end
  289. elseif key == 'm' then
  290. for i,v in pairs (deletefolder:GetChildren()) do
  291. v.Value.Transparency = 0
  292. v.Value.CanCollide = true
  293. v.Value.Transparency = v.Transp.Value
  294. v:Destroy()
  295. end
  296. end
  297. end)
  298.  
  299. game:GetService('UserInputService').InputBegan:connect(function(key)
  300. if key.KeyCode == Enum.KeyCode.T and not box:IsFocused() then
  301. wait()
  302. active = true
  303. box:CaptureFocus()
  304. elseif key.KeyCode == Enum.KeyCode.Q and not box:IsFocused() then
  305. main.Visible = not main.Visible
  306. elseif key.KeyCode == Enum.KeyCode.Return and active == true then
  307. active = false
  308. box:ReleaseFocus()
  309. -- START COMMANDS
  310. local t = box.Text
  311.  
  312. if t == '' then
  313. box.Text = 'Enter command (press \'t\' to focus )'
  314. elseif t == 'unlock' then
  315. createText('unlocking started', 'go near doors/windows to unlock them')
  316. spawn(function()
  317. repeat
  318. for i,v in pairs (game.Workspace.Map:GetChildren()) do
  319. if v.Name == 'Door' or v.Name == 'CardReader' or v.Name == 'LockGate' then
  320. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  321. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  322. end
  323. end
  324. wait()
  325. until not game.Workspace:FindFirstChild('Door')
  326. createText('unlocking complete', '')
  327. end)
  328. elseif string.sub(t, 1,6) == 'glass/' then
  329. if string.sub(t, 7) == 'break' then
  330. for i,v in pairs (game.Workspace.Glass:GetChildren()) do
  331. if v.Name == 'Glass' then
  332. game.ReplicatedStorage.Assets.Remotes.HitObject:FireServer(v, true)
  333. end
  334. end
  335. createText('glass broken', '')
  336. elseif string.sub(t, 7) == 'damage' then
  337. for i,v in pairs (game.Workspace.Glass:GetChildren()) do
  338. if v.Name == 'Glass' then
  339. game.ReplicatedStorage.Assets.Remotes.HitObject:FireServer(v, false)
  340. end
  341. end
  342. createText('glass partially damaged', '')
  343. end
  344. elseif t == 'loot' then
  345. local toploot = #game.Workspace.Lootables:GetChildren()
  346. createText('loot grab started', 'go near loot to grab it')
  347. --repeat
  348. for i,v in pairs (game.Workspace.Lootables:GetChildren()) do
  349. if v.Name ~= 'JewelSpot' then
  350. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  351. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  352. else
  353. for i,x in pairs (v:GetChildren()) do
  354. if x.Name == 'SmallJewels2' then
  355. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(x)
  356. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(x)
  357. end
  358. end
  359. end
  360. end
  361. for i,v in pairs (game.Workspace.Map:GetChildren()) do
  362. if v.Name == 'OpenedSafe' then
  363. spawn(function()
  364. for i,x in pairs (v:GetChildren()) do
  365. if x:IsA('Folder') and x.Name ~= 'PosLoot' then
  366. for i,z in pairs (x:GetChildren()) do
  367. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(z)
  368. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(z)
  369. end
  370. elseif x:IsA('Model') and x.Name ~= 'Wall' and x.Name ~= 'ForcedOpen' then
  371. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(x)
  372. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(x)
  373. end
  374. end
  375. end)
  376. elseif v.Name == 'Atm' then
  377. spawn(function()
  378. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v.Ints)
  379. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v.Ints)
  380. v:WaitForChild('AtmMoney')
  381. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v.AtmMoney)
  382. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v.AtmMoney)
  383. end)
  384. elseif v.Name == 'GoldBars' then
  385. spawn(function()
  386. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  387. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  388. end)
  389. elseif v.Name == 'WoodPlanks' then
  390. spawn(function()
  391. for i,x in pairs (v:GetChildren()) do
  392. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(x)
  393. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(x)
  394. end
  395. end)
  396. elseif v.Name == 'DepositBoxHolder' then
  397. spawn(function()
  398. for i,x in pairs (v.Boxes:GetChildren()) do
  399. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(x)
  400. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(x)
  401. end
  402. end)
  403. end
  404. end
  405. for i,v in pairs (game.Workspace:GetChildren()) do
  406. if string.sub(v.Name, 1, 7) == 'Deposit' then
  407. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  408. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  409. end
  410. end
  411. --wait()
  412. --until toploot == lootnum
  413. createText('loot grab complete', '')
  414. elseif t == 'safecrack' then
  415. createText('safe crack started', 'go near a safe to open it')
  416. spawn(function()
  417. repeat
  418. for i,v in pairs (game.Workspace.Map:GetChildren()) do
  419. if v.Name == 'Safe' then
  420. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  421. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  422. wait()
  423. end
  424. end
  425. wait()
  426. until not game.Workspace.Map:FindFirstChild('SafeSpots')
  427. createText('safe crack completed', '')
  428. end)
  429. elseif t == 'boxes' then
  430. if game.Workspace.SafeSpots:FindFirstChildWhichIsA('Model') then
  431. for i,v in pairs (game.Workspace.SafeSpots:GetChildren()) do
  432. if v:IsA('Model') then
  433. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  434. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  435. end
  436. end
  437. createText('boxes grabbed', '')
  438. else
  439. createSpecial('no boxes found', '')
  440. end
  441. elseif t == 'destroygui' then
  442. gui:Destroy()
  443. elseif t == 'card' then
  444. createText('card grab started', '')
  445. spawn(function()
  446. if not game.Workspace.Map:FindFirstChild('KeyCard') and not game.Workspace.Map:FindFirstChild('DowntownKey') then
  447. if findmanager() ~= 'Citizen' then
  448. createSpecial('no cards or keys found', '')
  449. else
  450. createSpecial('no cards or keys found', 'Manager found, may have card')
  451. end
  452. else
  453. repeat
  454. spawn(function()
  455. for i,v in pairs (game.Workspace.Map:GetChildren()) do
  456. if v.Name == 'KeyCard' then
  457. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  458. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  459. end
  460. end
  461. end)
  462. spawn(function()
  463. for i,v in pairs (game.Workspace:GetChildren()) do
  464. if v.Name == 'DowntownKey' then
  465. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  466. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  467. end
  468. end
  469. end)
  470. wait()
  471. until not game.Workspace.Map:FindFirstChild('KeyCard') and not game.Workspace:FindFirstChild('DowntownKey')
  472. createText('card grab complete', '')
  473. end
  474. end)
  475. elseif t == 'pager' then
  476. if game.Workspace.Bodies:FindFirstChild('Pager') then
  477. for i,v in pairs(game.Workspace.Bodies:GetChildren()) do
  478. if v.Name == 'Pager' then
  479. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  480. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  481. pagers = pagers + 1
  482. createText('pager answered', pagers..' used by script')
  483. end
  484. end
  485. else
  486. createSpecial('no pagers to answer', '')
  487. end
  488. elseif string.sub(t, 1,4) == 'esp/' and t ~= 'esp/' then
  489. if t == 'esp/guard' then
  490. if espguard == true then
  491. if game.Workspace.Police:FindFirstChild('Guard') then
  492. createText('guard esp activated', not espguard..', '..#game.Workspace.Police:FindFirstChild('Guard'))
  493. for i,v in pairs (esphandler:GetChildren()) do
  494. if v.Name == 'Guard' then
  495. v:Destroy()
  496. end
  497. end
  498. else
  499. createSpecial('no guards found', '')
  500. end
  501. else
  502. for i,v in pairs (game.Workspace.Police:GetChildren()) do
  503. for i,x in pairs (v:GetChildren()) do
  504. if x:IsA('Part') or x:IsA('UnionOperation') then
  505. local l = Instance.new('BoxHandleAdornment', esphandler)
  506. l.Name = 'Guard'
  507. l.AlwaysOnTop = true
  508. l.Adornee = x
  509. l.Transparency = .5
  510. l.Color3 = Color3.new(0, 0.6666, 1)
  511. l.Size = x.Size
  512. l.ZIndex = 10
  513. local q = Instance.new('StringValue', l)
  514. q.Name = 'Par'
  515. q.Value = x.Parent.Name
  516. end
  517. end
  518. end
  519. end
  520. espguard = not espguard
  521. elseif t == 'esp/boxes' then
  522. if boxesp == false then
  523. if game.Workspace.SafeSpots:FindFirstChildWhichIsA('Model') then
  524. createText('boxesp activated', true)
  525. for i,v in pairs (game.Workspace.SafeSpots:GetChildren()) do
  526. if v:IsA('Model') then
  527. for i,x in pairs (v:GetChildren()) do
  528. if x:IsA('Part') or x:IsA('UnionOperation') then
  529. local l = Instance.new('BoxHandleAdornment', esphandler)
  530. l.Name = 'Box'
  531. l.AlwaysOnTop = true
  532. l.Adornee = x
  533. l.Transparency = .5
  534. l.Color3 = Color3.new(0, 0.6666, 0)
  535. l.Size = x.Size
  536. l.ZIndex = 10
  537. local q = Instance.new('StringValue', l)
  538. q.Name = 'Par'
  539. q.Value = x.Parent.Name
  540. end
  541. end
  542. end
  543. end
  544. else
  545. createSpecial('no boxes found', '')
  546. end
  547. else
  548. if not game.Workspace.SafeSpots:FindFirstChildWhichIsA('Model') then
  549. createSpecial('no boxes found', '')
  550. else
  551. createText('esp activated', false)
  552. end
  553. for i,v in pairs (esphandler:GetChildren()) do
  554. if v.Name == 'Box' then
  555. v:Destroy()
  556. end
  557. end
  558. end
  559. boxesp = not boxesp
  560. elseif t == 'esp/cams' then
  561. if camesp == false then
  562. for i,v in pairs (game.Workspace.Cameras:GetChildren()) do
  563. for i,x in pairs (v:GetChildren()) do
  564. if x:IsA('Part') or x:IsA('UnionOperation') then
  565. local l = Instance.new('BoxHandleAdornment', esphandler)
  566. l.Name = 'Cams'
  567. l.AlwaysOnTop = true
  568. l.Adornee = x
  569. l.Transparency = .5
  570. l.Color3 = Color3.new(0.6666, 0.6666, 0)
  571. l.Size = x.Size
  572. l.ZIndex = 10
  573. local q = Instance.new('StringValue', l)
  574. q.Name = 'Par'
  575. q.Value = x.Parent.Name
  576. end
  577. end
  578. end
  579. else
  580. for i,v in pairs (esphandler:GetChildren()) do
  581. if v.Name == 'Cams' then
  582. v:Destroy()
  583. end
  584. end
  585. end
  586. createText('camera esp activated', not camesp)
  587. camesp = not camesp
  588. elseif t == 'esp/card' then
  589. if cardesp == false then
  590. if game.Workspace.Map:FindFirstChild('KeyCard') or game.Workspace.Map:FindFirstChild('DowntownKey') then
  591. for i,v in pairs (game.Workspace.Map:GetChildren()) do
  592. if v.Name == 'KeyCard' or v.Name == 'DowntownKey' then
  593. for i,x in pairs (v:GetChildren()) do
  594. if x:IsA('Part') or x:IsA('UnionOperation') then
  595. local l = Instance.new('BoxHandleAdornment', esphandler)
  596. l.Name = 'Card'
  597. l.AlwaysOnTop = true
  598. l.Adornee = x
  599. l.Transparency = .5
  600. l.Color3 = Color3.new(1, 0, 1)
  601. l.Size = x.Size
  602. l.ZIndex = 10
  603. local q = Instance.new('StringValue', l)
  604. q.Name = 'Par'
  605. q.Value = x.Parent.Name
  606. end
  607. end
  608. end
  609. end
  610. else
  611. if findmanager() ~= 'Citizen' then
  612. createSpecial('no cards or keys found', '')
  613. else
  614. createSpecial('no cards or keys found', 'Manager found, may have card')
  615. end
  616. end
  617. else
  618. for i,v in pairs (esphandler:GetChildren()) do
  619. if v.Name == 'Card' then
  620. v:Destroy()
  621. end
  622. end
  623. end
  624. elseif t == 'esp/manager' then
  625. if manageresp == false then
  626. if findmanager() == 'Citizen' then
  627. manageresp = true
  628. createText('manager esp activated', manageresp)
  629. for i,v in pairs (findmanagerObject():GetChildren()) do
  630. if v:IsA('Part') or v:IsA('UnionOperation') then
  631. local l = Instance.new('BoxHandleAdornment', esphandler)
  632. l.Name = 'Manage'
  633. l.AlwaysOnTop = true
  634. l.Adornee = v
  635. l.Transparency = .5
  636. l.Color3 = Color3.new(0.6666, 0, 0)
  637. l.Size = v.Size
  638. l.ZIndex = 10
  639. local q = Instance.new('StringValue', l)
  640. q.Name = 'Par'
  641. q.Value = v.Parent.Name
  642. end
  643. end
  644. else
  645. createSpecial('no managers found', '')
  646. end
  647. else
  648. manageresp = false
  649. if findmanager() == 'Citizen' then
  650. createText('manager esp activated', false)
  651. else
  652. createSpecial('manager not found', '')
  653. end
  654. for i,v in pairs (esphandler:GetChildren()) do
  655. if v.Name == 'Manage' then
  656. v:Destroy()
  657. end
  658. end
  659. end
  660. else
  661. createSpecial('\''..t..'\' is not one of the esp commands')
  662. cardesp = not cardesp
  663. end
  664. elseif t == 'loopcams' then
  665. if camloop == false then
  666. if game.Workspace.Cameras:FindFirstChild('Camera') or game.Workspace.Cameras:FindFirstChild('DeathwishCamera') then
  667. camloop = true
  668. createText('looping all cameras', 'process repeats, type command again to stop loop')
  669. spawn(function()
  670. repeat
  671. for i,v in pairs (game.Workspace.Cameras:GetChildren()) do
  672. wait()
  673. if v.Name == 'Camera' or v.Name == 'DeathwishCamera' then
  674. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  675. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  676. end
  677. end
  678. until camloop == false
  679. end)
  680. else
  681. createSpecial('all cameras broken', '')
  682. end
  683. else
  684. createText('camera loop stopped', '')
  685. camloop = false
  686. end
  687. elseif t == 'body' then
  688. if game.Workspace.Bodies:FindFirstChild('DeadBody') then
  689. spawn(function()
  690. createText('bagging started', '')
  691. repeat
  692. for i,v in pairs (game.Workspace.Bodies:GetChildren()) do
  693. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  694. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  695. end
  696. wait()
  697. until not game.Workspace.Bodies:FindFirstChild('DeadBody')
  698. createText('bodies bagged', '')
  699. end)
  700. else
  701. createSpecial('no bodies found', '')
  702. end
  703. elseif string.sub(t, 1,5) == 'grab/' and t ~= 'grab/' then
  704. if t == 'grab/body' then
  705. if game.Workspace.Bags:FindFirstChild('BodyBag') then
  706. spawn(function()
  707. repeat
  708. for i,v in pairs (game.Workspace.Bags:GetChildren()) do
  709. if v.Name == 'BodyBag' then
  710. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  711. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  712. end
  713. end
  714. wait()
  715. until not game.Workspace.Bags:FindFirstChild('BodyBag')
  716. createText('body bags grabbed', '')
  717. end)
  718. else
  719. createSpecial('no body bags found', '')
  720. end
  721. elseif t == 'grab/loot' then
  722. if game.Workspace.Bags:FindFirstChild('Bag') then
  723. spawn(function()
  724. repeat
  725. for i,v in pairs (game.Workspace.Bags:GetChildren()) do
  726. if v.Name == 'Bag' then
  727. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  728. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  729. end
  730. end
  731. wait(2)
  732. until not game.Workspace.Bags:FindFirstChild('Bag')
  733. createText('loot bags grabbed', '')
  734. end)
  735. end
  736. elseif t == 'grab/drill' then
  737. if game.Workspace.Map:FindFirstChild('Thermal Drill Bag') then
  738. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(game.Workspace.Map:FindFirstChild('Thermal Drill Bag'))
  739. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(game.Workspace.Map:FindFirstChild('Thermal Drill Bag'))
  740. createText('drill bag grabbed', '')
  741. else
  742. createSpecial('drill bag not found', '')
  743. end
  744. else
  745. createSpecial('\''..t..'\' is not one of the grab commands', '')
  746. end
  747. elseif t == 'fix' then
  748. if game.Workspace.Map:FindFirstChild('DrillingDoor') then
  749. if game.Workspace.Map.DrillingDoor:FindFirstChild('BrokenDrill') then
  750. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(game.Workspace.Map.DrillingDoor:FindFirstChild('BrokenDrill'))
  751. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(game.Workspace.Map.DrillingDoor:FindFirstChild('BrokenDrill'))
  752. createText('drill fixed', '')
  753. else
  754. createSpecial('drill is not broken', '')
  755. end
  756. else
  757. createSpecial('drilling not started', '')
  758. end
  759. elseif t == 'apply' then
  760. if game.Workspace.Map:FindFirstChild('ApplyDrill') then
  761. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(game.Workspace.Map:FindFirstChild('ApplyDrill'))
  762. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(game.Workspace.Map:FindFirstChild('ApplyDrill'))
  763. createText('drill applied', '')
  764. else
  765. createText('drill not applicable', '')
  766. end
  767. elseif t == 'breach' then
  768. breach = not breach
  769. if breach == true then
  770. createText('breach activated', 'true, press z to breach objects, and m to restore them')
  771. else
  772. createText('breach activated', 'false, you can no longer breach, but may still press m to restore objects')
  773. end
  774. elseif t == 'startdrill' then
  775. if game.Workspace.Map:FindFirstChild('VaultDoor') then
  776. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(game.Workspace.Map:FindFirstChild('VaultDoor'))
  777. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(game.Workspace.Map:FindFirstChild('VaultDoor'))
  778. createText('drill started', '')
  779. else
  780. createSpecial('not able to apply drill', '')
  781. end
  782. elseif t == 'planks' then
  783. if game.Workspace:FindFirstChild('NonPoliceObjectives') then
  784. if game.Workspace.NonPoliceObjectives:FindFirstChild('PlaceableBoards') then
  785. for i,v in pairs (game.Workspace.NonPoliceObjectives:GetChildren()) do
  786. game.ReplicatedStorage.Remotes.StartInteraction:FireServer(v)
  787. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer(v)
  788. end
  789. createText('boards placed', '')
  790. else
  791. createSpecial('you have no boards', '')
  792. end
  793. else
  794. createSpecial('unable to find correct folder', '')
  795. end
  796. elseif t == 'objective' then
  797. if game.Players.LocalPlayer.PlayerGui.MainGui.Objective.Framer.Frame.TextLabel.Text ~= '' then
  798. if string.sub(game.Players.LocalPlayer.PlayerGui.MainGui.Objective.Framer.Frame.TextLabel.Text, 1, 20) == 'OBJECTIVE REMINDER: ' then
  799. createText(string.sub(game.Players.LocalPlayer.PlayerGui.MainGui.Objective.Framer.Frame.TextLabel.Text, 20), '')
  800. else
  801. createText(game.Players.LocalPlayer.PlayerGui.MainGui.Objective.Framer.Frame.TextLabel.Text, '')
  802. end
  803. else
  804. createText('none', 'wait for an objective')
  805. end
  806. elseif t == 'tie' then
  807. if game.Workspace.Citizens:FindFirstChild('CitizenScared') then
  808. createText('citizen tie started', '')
  809. spawn(function()
  810. repeat
  811. for i,v in pairs (game.Workspace.Citizens:GetChildren()) do
  812. if v.Name == 'CitizenScared' then
  813. game.ReplicatedStorage.Remotes.StartInteraction:FireServer({v})
  814. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer({v})
  815. elseif v.Name == 'CitizenHostage' then
  816. game.ReplicatedStorage.Remotes.StartInteraction:FireServer({v})
  817. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer({v})
  818. elseif v.Name == 'CitizenTied' then
  819. game.ReplicatedStorage.Remotes.StartInteraction:FireServer({v})
  820. game.ReplicatedStorage.Remotes.CompleteInteraction:FireServer({v})
  821. end
  822. end
  823. wait()
  824. until game.Workspace.Citizens:FindFirstChild('CitizenTied') and not game.Workspace.Citizens:FindFirstChild('Citizen')
  825. createText('citizens tied', '')
  826. end)
  827. else
  828. createSpecial('citizens are not scared')
  829. end
  830. else
  831. createText('command \''..t..'\' not found', '')
  832. -- END COMMANDS
  833. end
  834. box.Text = 'Enter command (press \'t\' to focus )'
  835. end
  836. end)
  837. -- Repeats
  838. spawn(function()
  839. while true do
  840. for i,v in pairs (esphandler:GetChildren()) do
  841. if v.Adornee.Parent.Name == v.Par.Value then
  842. else
  843. v:Destroy()
  844. end
  845. end
  846. wait()
  847. end
  848. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement