Advertisement
ARandomSqueaker

Roblox Counter Blox Script

Jan 13th, 2019
55,111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.38 KB | None | 0 0
  1. -- credits novaghoul and orange doggo
  2. -- cb gui created by brokenszies
  3. -- Instances:
  4. local MainGUI = Instance.new("ScreenGui")
  5. local GUI = Instance.new("Frame")
  6. local showoff = Instance.new("TextLabel")
  7. local close = Instance.new("TextButton")
  8. local getitem = Instance.new("TextButton")
  9. local item = Instance.new("TextBox")
  10. local esp = Instance.new("TextButton")
  11. local infammo = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local PRINTiTEMS = Instance.new("TextButton")
  14. local ope = Instance.new("TextButton")
  15. local dellet = Instance.new("TextButton")
  16. --Properties:
  17. MainGUI.Name = "MainGUI"
  18. MainGUI.Parent = game.CoreGui
  19.  
  20. GUI.Name = "GUI"
  21. GUI.Parent = MainGUI
  22. GUI.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  23. GUI.BackgroundTransparency = 0.090000003576279
  24. GUI.BorderColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  25. GUI.BorderSizePixel = 0
  26. GUI.Position = UDim2.new(0.00439238641, 0, 0.291015625, 0)
  27. GUI.Size = UDim2.new(0, 120, 0, 242)
  28.  
  29. showoff.Name = "showoff"
  30. showoff.Parent = GUI
  31. showoff.BackgroundColor3 = Color3.new(0.356863, 0.356863, 0.356863)
  32. showoff.BackgroundTransparency = 0.090000003576279
  33. showoff.BorderSizePixel = 0
  34. showoff.Size = UDim2.new(0, 120, 0, 19)
  35. showoff.Font = Enum.Font.Highway
  36. showoff.Text = "CB Gui"
  37. showoff.TextColor3 = Color3.new(0.870588, 0.870588, 0.870588)
  38. showoff.TextSize = 14
  39.  
  40. close.Name = "close"
  41. close.Parent = showoff
  42. close.BackgroundColor3 = Color3.new(0.552941, 0.552941, 0.552941)
  43. close.BorderSizePixel = 0
  44. close.Position = UDim2.new(0.849999964, 0, 0, 0)
  45. close.Size = UDim2.new(0, 18, 0, 19)
  46. close.Font = Enum.Font.SourceSans
  47. close.Text = "X"
  48. close.TextColor3 = Color3.new(0, 0, 0)
  49. close.TextSize = 14
  50.  
  51. getitem.Name = "getitem"
  52. getitem.Parent = GUI
  53. getitem.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549)
  54. getitem.BackgroundTransparency = 0.090000003576279
  55. getitem.BorderColor3 = Color3.new(0, 0, 0)
  56. getitem.BorderSizePixel = 0
  57. getitem.Position = UDim2.new(0.075000003, 0, 0.118749119, 0)
  58. getitem.Size = UDim2.new(0, 102, 0, 27)
  59. getitem.Font = Enum.Font.Highway
  60. getitem.Text = "Get Item"
  61. getitem.TextColor3 = Color3.new(0.196078, 0.196078, 0.294118)
  62. getitem.TextSize = 14
  63.  
  64. item.Name = "item"
  65. item.Parent = GUI
  66. item.BackgroundColor3 = Color3.new(0.694118, 0.694118, 0.694118)
  67. item.Position = UDim2.new(0.075000003, 0, 0.262816936, 0)
  68. item.Size = UDim2.new(0, 102, 0, 34)
  69. item.Font = Enum.Font.Highway
  70. item.Text = "Item Name"
  71. item.TextColor3 = Color3.new(0, 0, 0)
  72. item.TextScaled = true
  73. item.TextSize = 14
  74. item.TextWrapped = true
  75.  
  76. esp.Name = "esp"
  77. esp.Parent = GUI
  78. esp.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549)
  79. esp.BackgroundTransparency = 0.090000003576279
  80. esp.BorderColor3 = Color3.new(0, 0, 0)
  81. esp.BorderSizePixel = 0
  82. esp.Position = UDim2.new(0.075000003, 0, 0.441413373, 0)
  83. esp.Size = UDim2.new(0, 102, 0, 27)
  84. esp.Font = Enum.Font.Highway
  85. esp.Text = "ESP"
  86. esp.TextColor3 = Color3.new(0.196078, 0.196078, 0.294118)
  87. esp.TextSize = 14
  88.  
  89. infammo.Name = "infammo"
  90. infammo.Parent = GUI
  91. infammo.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549)
  92. infammo.BackgroundTransparency = 0.090000003576279
  93. infammo.BorderColor3 = Color3.new(0, 0, 0)
  94. infammo.BorderSizePixel = 0
  95. infammo.Position = UDim2.new(0.075000003, 0, 0.59003365, 0)
  96. infammo.Size = UDim2.new(0, 102, 0, 27)
  97. infammo.Font = Enum.Font.Highway
  98. infammo.Text = "Infinite Ammo"
  99. infammo.TextColor3 = Color3.new(0.196078, 0.196078, 0.294118)
  100. infammo.TextSize = 14
  101.  
  102. TextLabel.Parent = GUI
  103. TextLabel.BackgroundColor3 = Color3.new(0.701961, 0.701961, 0.701961)
  104. TextLabel.BorderSizePixel = 0
  105. TextLabel.Position = UDim2.new(0, 0, 0.902542353, 0)
  106. TextLabel.Size = UDim2.new(0, 120, 0, 23)
  107. TextLabel.Font = Enum.Font.Bodoni
  108. TextLabel.Text = "Credits to Orange Doggo & Novaghoul"
  109. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  110. TextLabel.TextScaled = true
  111. TextLabel.TextSize = 14
  112. TextLabel.TextWrapped = true
  113.  
  114. PRINTiTEMS.Name = "PRINTiTEMS"
  115. PRINTiTEMS.Parent = GUI
  116. PRINTiTEMS.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549)
  117. PRINTiTEMS.BackgroundTransparency = 0.090000003576279
  118. PRINTiTEMS.BorderColor3 = Color3.new(0, 0, 0)
  119. PRINTiTEMS.BorderSizePixel = 0
  120. PRINTiTEMS.Position = UDim2.new(0.0666666701, 0, 0.742681026, 0)
  121. PRINTiTEMS.Size = UDim2.new(0, 102, 0, 27)
  122. PRINTiTEMS.Font = Enum.Font.Highway
  123. PRINTiTEMS.Text = "Print Items (F9)"
  124. PRINTiTEMS.TextColor3 = Color3.new(0.196078, 0.196078, 0.294118)
  125. PRINTiTEMS.TextSize = 14
  126.  
  127. ope.Name = "ope"
  128. ope.Parent = MainGUI
  129. ope.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  130. ope.BorderColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  131. ope.BorderSizePixel = 3
  132. ope.Position = UDim2.new(0.00439238641, 0, 0.927734375, 0)
  133. ope.Size = UDim2.new(0, 71, 0, 24)
  134. ope.Font = Enum.Font.SourceSans
  135. ope.Text = "OPEN"
  136. ope.TextColor3 = Color3.new(0.870588, 0.870588, 0.870588)
  137. ope.TextScaled = true
  138. ope.TextSize = 14
  139. ope.TextWrapped = true
  140. ope.Visible = false
  141.  
  142. dellet.Name = "dellet"
  143. dellet.Parent = ope
  144. dellet.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  145. dellet.BorderColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  146. dellet.BorderSizePixel = 3
  147. dellet.Position = UDim2.new(0, 0, -0.555989563, 0)
  148. dellet.Size = UDim2.new(0, 71, 0, 13)
  149. dellet.Font = Enum.Font.SourceSans
  150. dellet.Text = "DEL GUI"
  151. dellet.TextColor3 = Color3.new(0.870588, 0.870588, 0.870588)
  152. dellet.TextScaled = true
  153. dellet.TextSize = 14
  154. dellet.TextWrapped = true
  155. -- Scripts:
  156. function prints()
  157. for i,v in pairs(game.ReplicatedStorage.Weapons:GetChildren()) do
  158. print(v)
  159. end
  160. end
  161. function getitemfunction()
  162. local remote = game.ReplicatedStorage.Events.Drop
  163. local FireServer = Instance.new("RemoteEvent").FireServer
  164.  
  165. local weapon = item.Text
  166.  
  167. remote:FireServer(game.ReplicatedStorage.Weapons[weapon], game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame, 150, 300, false, game.Players.LocalPlayer, game.Workspace.Status.Preparation.Value)
  168. end
  169. function infammofunctton()
  170. local newcclosure = newcclosure or function(f)
  171. return f
  172. end
  173.  
  174. local getreg = debug.getregistry or getreg
  175.  
  176. if not getreg or not getrawmetatable then
  177. warn("Your exploit does not support the functions required for this script")
  178. end
  179.  
  180. local remote = game.ReplicatedStorage.Events.RemoteEvent
  181. local mt = getrawmetatable(game)
  182. local oldmt = mt.__namecall
  183. local sro = make_writeable or setreadonly or changereadonly
  184. sro(getrawmetatable(game),false)
  185.  
  186. if PROTOSMASHER_LOADED then
  187. local backup = debug.getupvalues
  188. make_writeable(debug)
  189.  
  190. getgenv().debug.getupvalues = function(f)
  191. if typeof(f) == "function" then
  192. local s, e = pcall(backup, f)
  193. return (typeof(e) == 'table' and e or {})
  194. else
  195. return backup(f + 1)
  196. end
  197. end
  198.  
  199. make_readonly(debug)
  200. end
  201.  
  202. mt.__namecall = function(self,...)
  203. local args = {...}
  204. local method = args[#args]
  205. if self == remote and method:lower() == "fireserver" then
  206. if args[1] then
  207. if args[1][1] == "kick" then
  208. return true
  209. end
  210. return args
  211. end
  212. return args
  213. end
  214. return oldmt(self,...)
  215. end
  216.  
  217. spawn(function()
  218. while wait() do
  219. for _,o in pairs(getreg()) do
  220. if typeof(o) == "function" then
  221. local ups = debug.getupvalues(o)
  222. if ups.ammocount then
  223. debug.setupvalue(o, 'ammocount', math.huge)
  224. debug.setupvalue(o, 'ammocount2', math.huge)
  225. end
  226. end
  227. end
  228. end
  229. end)
  230. end
  231. function esps()
  232. local uis = game:GetService("UserInputService")
  233. local sg = game:GetService("StarterGui")
  234. local wp = game:GetService("Workspace")
  235. local cmr = wp.Camera
  236. local rs = game:GetService("ReplicatedStorage")
  237. local lgt = game:GetService("Lighting")
  238. local plrs = game:GetService("Players")
  239. local lplr = plrs.LocalPlayer
  240. local mouse = lplr:GetMouse()
  241.  
  242. local faces = {"Back","Bottom","Front","Left","Right","Top"}
  243.  
  244. function enableESPCode()
  245. for _, o in pairs(plrs:GetPlayers()) do
  246. o.CharacterAdded:Connect(function(characterModel)
  247. wait(2)
  248. if tostring(o.Name) ~= tostring(lplr.Name) then
  249. if tostring(o.Name) == tostring(wp.Status.HasBomb.Value) then
  250. local bgui = Instance.new("BillboardGui",o.Character.Head)
  251. bgui.Name = ("EGUI")
  252. bgui.AlwaysOnTop = true
  253. bgui.ExtentsOffset = Vector3.new(0,3,0)
  254. bgui.Size = UDim2.new(0,200,0,50)
  255. local nam = Instance.new("TextLabel",bgui)
  256. nam.Text = o.Name
  257. nam.BackgroundTransparency = 1
  258. nam.TextSize = 14
  259. nam.Font = ("Arial")
  260. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  261. nam.Size = UDim2.new(0,200,0,50)
  262. for _, p in pairs(o.Character:GetChildren()) do
  263. if p.Name == ("Head") then
  264. for _, f in pairs(faces) do
  265. local m = Instance.new("SurfaceGui",p)
  266. m.Name = ("EGUI")
  267. m.Face = f
  268. m.Active = true
  269. m.AlwaysOnTop = true
  270. local mf = Instance.new("Frame",m)
  271. mf.Size = UDim2.new(1,0,1,0)
  272. mf.BorderSizePixel = 0
  273. mf.BackgroundTransparency = 0.5
  274. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  275.  
  276. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  277. if tostring(wp.Status.HasBomb.Value) == "" then
  278. if tostring(o.Team) == "Terrorists" then
  279. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  280. elseif tostring(o.Team) == "Counter-Terrorists" then
  281. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  282. end
  283. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  284. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  285. end
  286. end)
  287.  
  288. end
  289. end
  290. end
  291.  
  292. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  293. if tostring(wp.Status.HasBomb.Value) == "" then
  294. if tostring(o.Team) == "Terrorists" then
  295. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  296. elseif tostring(o.Team) == "Counter-Terrorists" then
  297. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  298. end
  299. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  300. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  301. end
  302. end)
  303.  
  304. elseif tostring(o.Team) == "Terrorists" then
  305. local bgui = Instance.new("BillboardGui",o.Character.Head)
  306. bgui.Name = ("EGUI")
  307. bgui.AlwaysOnTop = true
  308. bgui.ExtentsOffset = Vector3.new(0,3,0)
  309. bgui.Size = UDim2.new(0,200,0,50)
  310. local nam = Instance.new("TextLabel",bgui)
  311. nam.Text = o.Name
  312. nam.BackgroundTransparency = 1
  313. nam.TextSize = 14
  314. nam.Font = ("Arial")
  315. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  316. nam.Size = UDim2.new(0,200,0,50)
  317. for _, p in pairs(o.Character:GetChildren()) do
  318. if p.Name == ("Head") then
  319. for _, f in pairs(faces) do
  320. local m = Instance.new("SurfaceGui",p)
  321. m.Name = ("EGUI")
  322. m.Face = f
  323. m.Active = true
  324. m.AlwaysOnTop = true
  325. local mf = Instance.new("Frame",m)
  326. mf.Size = UDim2.new(1,0,1,0)
  327. mf.BorderSizePixel = 0
  328. mf.BackgroundTransparency = 0.5
  329. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  330.  
  331. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  332. if tostring(wp.Status.HasBomb.Value) == "" then
  333. if tostring(o.Team) == "Terrorists" then
  334. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  335. elseif tostring(o.Team) == "Counter-Terrorists" then
  336. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  337. end
  338. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  339. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  340. end
  341. end)
  342.  
  343. end
  344. end
  345. end
  346.  
  347. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  348. if tostring(wp.Status.HasBomb.Value) == "" then
  349. if tostring(o.Team) == "Terrorists" then
  350. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  351. elseif tostring(o.Team) == "Counter-Terrorists" then
  352. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  353. end
  354. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  355. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  356. end
  357. end)
  358.  
  359. elseif tostring(o.Team) == "Counter-Terrorists" then
  360. local bgui = Instance.new("BillboardGui",o.Character.Head)
  361. bgui.Name = ("EGUI")
  362. bgui.AlwaysOnTop = true
  363. bgui.ExtentsOffset = Vector3.new(0,3,0)
  364. bgui.Size = UDim2.new(0,200,0,50)
  365. local nam = Instance.new("TextLabel",bgui)
  366. nam.Text = o.Name
  367. nam.BackgroundTransparency = 1
  368. nam.TextSize = 14
  369. nam.Font = ("Arial")
  370. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  371. nam.Size = UDim2.new(0,200,0,50)
  372. for _, p in pairs(o.Character:GetChildren()) do
  373. if p.Name == ("Head") then
  374. for _, f in pairs(faces) do
  375. local m = Instance.new("SurfaceGui",p)
  376. m.Name = ("EGUI")
  377. m.Face = f
  378. m.Active = true
  379. m.AlwaysOnTop = true
  380. local mf = Instance.new("Frame",m)
  381. mf.Size = UDim2.new(1,0,1,0)
  382. mf.BorderSizePixel = 0
  383. mf.BackgroundTransparency = 0.5
  384. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  385.  
  386. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  387. if tostring(wp.Status.HasBomb.Value) == "" then
  388. if tostring(o.Team) == "Terrorists" then
  389. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  390. elseif tostring(o.Team) == "Counter-Terrorists" then
  391. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  392. end
  393. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  394. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  395. end
  396. end)
  397.  
  398. end
  399. end
  400. end
  401.  
  402. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  403. if tostring(wp.Status.HasBomb.Value) == "" then
  404. if tostring(o.Team) == "Terrorists" then
  405. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  406. elseif tostring(o.Team) == "Counter-Terrorists" then
  407. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  408. end
  409. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  410. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  411. end
  412. end)
  413.  
  414. end
  415. end
  416. end)
  417. end
  418.  
  419. plrs.PlayerAdded:Connect(function(newPlayer)
  420. newPlayer.CharacterAdded:Connect(function(characterModel)
  421. wait(2)
  422. if tostring(newPlayer.Name) ~= tostring(lplr.Name) then
  423. if newPlayer.Name == tostring(wp.Status.HasBomb.Value) then
  424. local bgui = Instance.new("BillboardGui",newPlayer.Character.Head)
  425. bgui.Name = ("EGUI")
  426. bgui.AlwaysOnTop = true
  427. bgui.ExtentsOffset = Vector3.new(0,3,0)
  428. bgui.Size = UDim2.new(0,200,0,50)
  429. local nam = Instance.new("TextLabel",bgui)
  430. nam.Text = newPlayer.Name
  431. nam.BackgroundTransparency = 1
  432. nam.TextSize = 14
  433. nam.Font = ("Arial")
  434. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  435. nam.Size = UDim2.new(0,200,0,50)
  436. for _, p in pairs(newPlayer.Character:GetChildren()) do
  437. if p.Name == ("Head") then
  438. for _, f in pairs(faces) do
  439. local m = Instance.new("SurfaceGui",p)
  440. m.Name = ("EGUI")
  441. m.Face = f
  442. m.Active = true
  443. m.AlwaysOnTop = true
  444. local mf = Instance.new("Frame",m)
  445. mf.Size = UDim2.new(1,0,1,0)
  446. mf.BorderSizePixel = 0
  447. mf.BackgroundTransparency = 0.5
  448. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  449.  
  450. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  451. if tostring(wp.Status.HasBomb.Value) == "" then
  452. if tostring(newPlayer.Team) == "Terrorists" then
  453. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  454. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  455. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  456. end
  457. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  458. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  459. end
  460. end)
  461.  
  462. end
  463. end
  464. end
  465.  
  466. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  467. if tostring(wp.Status.HasBomb.Value) == "" then
  468. if tostring(newPlayer.Team) == "Terrorists" then
  469. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  470. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  471. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  472. end
  473. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  474. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  475. end
  476. end)
  477.  
  478. elseif tostring(newPlayer.Team) == "Terrorists" then
  479. local bgui = Instance.new("BillboardGui",newPlayer.Character.Head)
  480. bgui.Name = ("EGUI")
  481. bgui.AlwaysOnTop = true
  482. bgui.ExtentsOffset = Vector3.new(0,3,0)
  483. bgui.Size = UDim2.new(0,200,0,50)
  484. local nam = Instance.new("TextLabel",bgui)
  485. nam.Text = newPlayer.Name
  486. nam.BackgroundTransparency = 1
  487. nam.TextSize = 14
  488. nam.Font = ("Arial")
  489. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  490. nam.Size = UDim2.new(0,200,0,50)
  491. for _, p in pairs(newPlayer.Character:GetChildren()) do
  492. if p.Name == ("Head") then
  493. for _, f in pairs(faces) do
  494. local m = Instance.new("SurfaceGui",p)
  495. m.Name = ("EGUI")
  496. m.Face = f
  497. m.Active = true
  498. m.AlwaysOnTop = true
  499. local mf = Instance.new("Frame",m)
  500. mf.Size = UDim2.new(1,0,1,0)
  501. mf.BorderSizePixel = 0
  502. mf.BackgroundTransparency = 0.5
  503. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  504.  
  505. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  506. if tostring(wp.Status.HasBomb.Value) == "" then
  507. if tostring(newPlayer.Team) == "Terrorists" then
  508. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  509. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  510. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  511. end
  512. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  513. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  514. end
  515. end)
  516.  
  517. end
  518. end
  519. end
  520.  
  521. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  522. if tostring(wp.Status.HasBomb.Value) == "" then
  523. if tostring(newPlayer.Team) == "Terrorists" then
  524. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  525. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  526. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  527. end
  528. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  529. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  530. end
  531. end)
  532.  
  533. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  534. local bgui = Instance.new("BillboardGui",newPlayer.Character.Head)
  535. bgui.Name = ("EGUI")
  536. bgui.AlwaysOnTop = true
  537. bgui.ExtentsOffset = Vector3.new(0,3,0)
  538. bgui.Size = UDim2.new(0,200,0,50)
  539. local nam = Instance.new("TextLabel",bgui)
  540. nam.Text = newPlayer.Name
  541. nam.BackgroundTransparency = 1
  542. nam.TextSize = 14
  543. nam.Font = ("Arial")
  544. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  545. nam.Size = UDim2.new(0,200,0,50)
  546. for _, p in pairs(newPlayer.Character:GetChildren()) do
  547. if p.Name == ("Head") then
  548. for _, f in pairs(faces) do
  549. local m = Instance.new("SurfaceGui",p)
  550. m.Name = ("EGUI")
  551. m.Face = f
  552. m.Active = true
  553. m.AlwaysOnTop = true
  554. local mf = Instance.new("Frame",m)
  555. mf.Size = UDim2.new(1,0,1,0)
  556. mf.BorderSizePixel = 0
  557. mf.BackgroundTransparency = 0.5
  558. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  559.  
  560. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  561. if tostring(wp.Status.HasBomb.Value) == "" then
  562. if tostring(newPlayer.Team) == "Terrorists" then
  563. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  564. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  565. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  566. end
  567. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  568. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  569. end
  570. end)
  571.  
  572. end
  573. end
  574. end
  575.  
  576. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  577. if tostring(wp.Status.HasBomb.Value) == "" then
  578. if tostring(newPlayer.Team) == "Terrorists" then
  579. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  580. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  581. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  582. end
  583. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  584. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  585. end
  586. end)
  587.  
  588. end
  589. end
  590. end)
  591. end)
  592.  
  593. wp.ChildAdded:connect(function(p)
  594. if p.Name == "C4" then
  595. local bgui = Instance.new("BillboardGui",p)
  596. bgui.Name = ("EGUI")
  597. bgui.AlwaysOnTop = true
  598. bgui.ExtentsOffset = Vector3.new(0,0,0)
  599. bgui.Size = UDim2.new(1,0,1,0)
  600. local nam = Instance.new("TextLabel",bgui)
  601. nam.Text = p.Name
  602. nam.BackgroundTransparency = 1
  603. nam.TextSize = 20
  604. nam.Font = ("Arial")
  605. nam.TextColor3 = Color3.fromRGB(75, 151, 75)
  606. nam.Size = UDim2.new(1,0,1,0)
  607. end
  608. end)
  609.  
  610. wp.Debris.ChildAdded:connect(function(p)
  611. if p.Name == "C4" then
  612. local bgui = Instance.new("BillboardGui",p)
  613. bgui.Name = ("EGUI")
  614. bgui.AlwaysOnTop = true
  615. bgui.ExtentsOffset = Vector3.new(0,0,0)
  616. bgui.Size = UDim2.new(1,0,1,0)
  617. local nam = Instance.new("TextLabel",bgui)
  618. nam.Text = p.Name .. " fall here"
  619. nam.BackgroundTransparency = 1
  620. nam.TextSize = 20
  621. nam.Font = ("Arial")
  622. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  623. nam.Size = UDim2.new(1,0,1,0)
  624. end
  625. end)
  626.  
  627. wp["Ray_Ignore"].ChildAdded:connect(function(p)
  628. for _, v in pairs(wp["Ray_Ignore"]:GetChildren()) do
  629. if tostring(v) == "Smokes" then
  630. v:Destroy()
  631. end
  632. end
  633. end)
  634.  
  635. for _, v in pairs(wp["Ray_Ignore"]:GetChildren()) do
  636. if tostring(v) == "Smokes" then
  637. v:Destroy()
  638. end
  639. end
  640. end
  641.  
  642. enableESPCode()
  643.  
  644. function espFirst()
  645. for _, o in pairs(plrs:GetPlayers()) do
  646. if tostring(o.Name) ~= tostring(lplr.Name) then
  647. if o.Character ~= nil then
  648. if tostring(o.Name) == tostring(wp.Status.HasBomb.Value) then
  649. local bgui = Instance.new("BillboardGui",o.Character.Head)
  650. bgui.Name = ("EGUI")
  651. bgui.AlwaysOnTop = true
  652. bgui.ExtentsOffset = Vector3.new(0,3,0)
  653. bgui.Size = UDim2.new(0,200,0,50)
  654. local nam = Instance.new("TextLabel",bgui)
  655. nam.Text = o.Name
  656. nam.BackgroundTransparency = 1
  657. nam.TextSize = 14
  658. nam.Font = ("Arial")
  659. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  660. nam.Size = UDim2.new(0,200,0,50)
  661. for _, p in pairs(o.Character:GetChildren()) do
  662. if p.Name == ("Head") then
  663. for _, f in pairs(faces) do
  664. local m = Instance.new("SurfaceGui",p)
  665. m.Name = ("EGUI")
  666. m.Face = f
  667. m.Active = true
  668. m.AlwaysOnTop = true
  669. local mf = Instance.new("Frame",m)
  670. mf.Size = UDim2.new(1,0,1,0)
  671. mf.BorderSizePixel = 0
  672. mf.BackgroundTransparency = 0.5
  673. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  674.  
  675. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  676. if tostring(wp.Status.HasBomb.Value) == "" then
  677. if tostring(o.Team) == "Terrorists" then
  678. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  679. elseif tostring(o.Team) == "Counter-Terrorists" then
  680. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  681. end
  682. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  683. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  684. end
  685. end)
  686.  
  687. end
  688. end
  689. end
  690.  
  691. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  692. if tostring(wp.Status.HasBomb.Value) == "" then
  693. if tostring(o.Team) == "Terrorists" then
  694. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  695. elseif tostring(o.Team) == "Counter-Terrorists" then
  696. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  697. end
  698. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  699. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  700. end
  701. end)
  702.  
  703. elseif tostring(o.Team) == "Terrorists" then
  704. local bgui = Instance.new("BillboardGui",o.Character.Head)
  705. bgui.Name = ("EGUI")
  706. bgui.AlwaysOnTop = true
  707. bgui.ExtentsOffset = Vector3.new(0,3,0)
  708. bgui.Size = UDim2.new(0,200,0,50)
  709. local nam = Instance.new("TextLabel",bgui)
  710. nam.Text = o.Name
  711. nam.BackgroundTransparency = 1
  712. nam.TextSize = 14
  713. nam.Font = ("Arial")
  714. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  715. nam.Size = UDim2.new(0,200,0,50)
  716. for _, p in pairs(o.Character:GetChildren()) do
  717. if p.Name == ("Head") then
  718. for _, f in pairs(faces) do
  719. local m = Instance.new("SurfaceGui",p)
  720. m.Name = ("EGUI")
  721. m.Face = f
  722. m.Active = true
  723. m.AlwaysOnTop = true
  724. local mf = Instance.new("Frame",m)
  725. mf.Size = UDim2.new(1,0,1,0)
  726. mf.BorderSizePixel = 0
  727. mf.BackgroundTransparency = 0.5
  728. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  729.  
  730. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  731. if tostring(wp.Status.HasBomb.Value) == "" then
  732. if tostring(o.Team) == "Terrorists" then
  733. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  734. elseif tostring(o.Team) == "Counter-Terrorists" then
  735. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  736. end
  737. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  738. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  739. end
  740. end)
  741.  
  742. end
  743. end
  744. end
  745.  
  746. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  747. if tostring(wp.Status.HasBomb.Value) == "" then
  748. if tostring(o.Team) == "Terrorists" then
  749. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  750. elseif tostring(o.Team) == "Counter-Terrorists" then
  751. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  752. end
  753. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  754. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  755. end
  756. end)
  757.  
  758. elseif tostring(o.Team) == "Counter-Terrorists" then
  759. local bgui = Instance.new("BillboardGui",o.Character.Head)
  760. bgui.Name = ("EGUI")
  761. bgui.AlwaysOnTop = true
  762. bgui.ExtentsOffset = Vector3.new(0,3,0)
  763. bgui.Size = UDim2.new(0,200,0,50)
  764. local nam = Instance.new("TextLabel",bgui)
  765. nam.Text = o.Name
  766. nam.BackgroundTransparency = 1
  767. nam.TextSize = 14
  768. nam.Font = ("Arial")
  769. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  770. nam.Size = UDim2.new(0,200,0,50)
  771. for _, p in pairs(o.Character:GetChildren()) do
  772. if p.Name == ("Head") then
  773. for _, f in pairs(faces) do
  774. local m = Instance.new("SurfaceGui",p)
  775. m.Name = ("EGUI")
  776. m.Face = f
  777. m.Active = true
  778. m.AlwaysOnTop = true
  779. local mf = Instance.new("Frame",m)
  780. mf.Size = UDim2.new(1,0,1,0)
  781. mf.BorderSizePixel = 0
  782. mf.BackgroundTransparency = 0.5
  783. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  784.  
  785. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  786. if tostring(wp.Status.HasBomb.Value) == "" then
  787. if tostring(o.Team) == "Terrorists" then
  788. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  789. elseif tostring(o.Team) == "Counter-Terrorists" then
  790. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  791. end
  792. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  793. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  794. end
  795. end)
  796.  
  797. end
  798. end
  799. end
  800.  
  801. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  802. if tostring(wp.Status.HasBomb.Value) == "" then
  803. if tostring(o.Team) == "Terrorists" then
  804. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  805. elseif tostring(o.Team) == "Counter-Terrorists" then
  806. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  807. end
  808. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  809. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  810. end
  811. end)
  812.  
  813. end
  814. end
  815. end
  816. end
  817. end
  818.  
  819. espFirst()
  820. end
  821. function closeok()
  822. GUI.Visible= false
  823. ope.Visible=true
  824. end
  825. function oppen()
  826. ope.Visible=false
  827. GUI.Visible = true
  828. end
  829. function delletee()
  830. game.CoreGui.MainGUI:Remove()
  831. end
  832.  
  833. getitem.MouseButton1Click:connect(getitemfunction)
  834. esp.MouseButton1Click:connect(esps)
  835. PRINTiTEMS.MouseButton1Click:connect(prints)
  836. infammo.MouseButton1Click:connect(infammo)
  837. dellet.MouseButton1Click:connect(delletee)
  838. ope.MouseButton1Click:connect(oppen)
  839. close.MouseButton1Click:connect(closeok)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement