Upscalefanatic3

ESP Roblox CSGO GUI

Mar 2nd, 2019
238
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local uis = game:GetService("UserInputService")
  2. local sg = game:GetService("StarterGui")
  3. local wp = game:GetService("Workspace")
  4. local cmr = wp.Camera
  5. local rs = game:GetService("ReplicatedStorage")
  6. local lgt = game:GetService("Lighting")
  7. local plrs = game:GetService("Players")
  8. local lplr = plrs.LocalPlayer
  9. local mouse = lplr:GetMouse()
  10.  
  11. local faces = {"Back","Bottom","Front","Left","Right","Top"}
  12.  
  13. function enableESPCode()
  14. for _, o in pairs(plrs:GetPlayers()) do
  15. o.CharacterAdded:Connect(function(characterModel)
  16. wait(2)
  17. if tostring(o.Name) ~= tostring(lplr.Name) then
  18. if tostring(o.Name) == tostring(wp.Status.HasBomb.Value) then
  19. local bgui = Instance.new("BillboardGui",o.Character.Head)
  20. bgui.Name = ("EGUI")
  21. bgui.AlwaysOnTop = true
  22. bgui.ExtentsOffset = Vector3.new(0,3,0)
  23. bgui.Size = UDim2.new(0,200,0,50)
  24. local nam = Instance.new("TextLabel",bgui)
  25. nam.Text = o.Name
  26. nam.BackgroundTransparency = 1
  27. nam.TextSize = 14
  28. nam.Font = ("Arial")
  29. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  30. nam.Size = UDim2.new(0,200,0,50)
  31. for _, p in pairs(o.Character:GetChildren()) do
  32. if p.Name == ("Head") then
  33. for _, f in pairs(faces) do
  34. local m = Instance.new("SurfaceGui",p)
  35. m.Name = ("EGUI")
  36. m.Face = f
  37. m.Active = true
  38. m.AlwaysOnTop = true
  39. local mf = Instance.new("Frame",m)
  40. mf.Size = UDim2.new(1,0,1,0)
  41. mf.BorderSizePixel = 0
  42. mf.BackgroundTransparency = 0.5
  43. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  44.  
  45. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  46. if tostring(wp.Status.HasBomb.Value) == "" then
  47. if tostring(o.Team) == "Terrorists" then
  48. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  49. elseif tostring(o.Team) == "Counter-Terrorists" then
  50. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  51. end
  52. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  53. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  54. end
  55. end)
  56.  
  57. end
  58. end
  59. end
  60.  
  61. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  62. if tostring(wp.Status.HasBomb.Value) == "" then
  63. if tostring(o.Team) == "Terrorists" then
  64. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  65. elseif tostring(o.Team) == "Counter-Terrorists" then
  66. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  67. end
  68. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  69. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  70. end
  71. end)
  72.  
  73. elseif tostring(o.Team) == "Terrorists" then
  74. local bgui = Instance.new("BillboardGui",o.Character.Head)
  75. bgui.Name = ("EGUI")
  76. bgui.AlwaysOnTop = true
  77. bgui.ExtentsOffset = Vector3.new(0,3,0)
  78. bgui.Size = UDim2.new(0,200,0,50)
  79. local nam = Instance.new("TextLabel",bgui)
  80. nam.Text = o.Name
  81. nam.BackgroundTransparency = 1
  82. nam.TextSize = 14
  83. nam.Font = ("Arial")
  84. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  85. nam.Size = UDim2.new(0,200,0,50)
  86. for _, p in pairs(o.Character:GetChildren()) do
  87. if p.Name == ("Head") then
  88. for _, f in pairs(faces) do
  89. local m = Instance.new("SurfaceGui",p)
  90. m.Name = ("EGUI")
  91. m.Face = f
  92. m.Active = true
  93. m.AlwaysOnTop = true
  94. local mf = Instance.new("Frame",m)
  95. mf.Size = UDim2.new(1,0,1,0)
  96. mf.BorderSizePixel = 0
  97. mf.BackgroundTransparency = 0.5
  98. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  99.  
  100. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  101. if tostring(wp.Status.HasBomb.Value) == "" then
  102. if tostring(o.Team) == "Terrorists" then
  103. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  104. elseif tostring(o.Team) == "Counter-Terrorists" then
  105. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  106. end
  107. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  108. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  109. end
  110. end)
  111.  
  112. end
  113. end
  114. end
  115.  
  116. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  117. if tostring(wp.Status.HasBomb.Value) == "" then
  118. if tostring(o.Team) == "Terrorists" then
  119. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  120. elseif tostring(o.Team) == "Counter-Terrorists" then
  121. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  122. end
  123. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  124. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  125. end
  126. end)
  127.  
  128. elseif tostring(o.Team) == "Counter-Terrorists" then
  129. local bgui = Instance.new("BillboardGui",o.Character.Head)
  130. bgui.Name = ("EGUI")
  131. bgui.AlwaysOnTop = true
  132. bgui.ExtentsOffset = Vector3.new(0,3,0)
  133. bgui.Size = UDim2.new(0,200,0,50)
  134. local nam = Instance.new("TextLabel",bgui)
  135. nam.Text = o.Name
  136. nam.BackgroundTransparency = 1
  137. nam.TextSize = 14
  138. nam.Font = ("Arial")
  139. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  140. nam.Size = UDim2.new(0,200,0,50)
  141. for _, p in pairs(o.Character:GetChildren()) do
  142. if p.Name == ("Head") then
  143. for _, f in pairs(faces) do
  144. local m = Instance.new("SurfaceGui",p)
  145. m.Name = ("EGUI")
  146. m.Face = f
  147. m.Active = true
  148. m.AlwaysOnTop = true
  149. local mf = Instance.new("Frame",m)
  150. mf.Size = UDim2.new(1,0,1,0)
  151. mf.BorderSizePixel = 0
  152. mf.BackgroundTransparency = 0.5
  153. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  154.  
  155. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  156. if tostring(wp.Status.HasBomb.Value) == "" then
  157. if tostring(o.Team) == "Terrorists" then
  158. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  159. elseif tostring(o.Team) == "Counter-Terrorists" then
  160. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  161. end
  162. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  163. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  164. end
  165. end)
  166.  
  167. end
  168. end
  169. end
  170.  
  171. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  172. if tostring(wp.Status.HasBomb.Value) == "" then
  173. if tostring(o.Team) == "Terrorists" then
  174. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  175. elseif tostring(o.Team) == "Counter-Terrorists" then
  176. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  177. end
  178. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  179. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  180. end
  181. end)
  182.  
  183. end
  184. end
  185. end)
  186. end
  187.  
  188. plrs.PlayerAdded:Connect(function(newPlayer)
  189. newPlayer.CharacterAdded:Connect(function(characterModel)
  190. wait(2)
  191. if tostring(newPlayer.Name) ~= tostring(lplr.Name) then
  192. if newPlayer.Name == tostring(wp.Status.HasBomb.Value) then
  193. local bgui = Instance.new("BillboardGui",newPlayer.Character.Head)
  194. bgui.Name = ("EGUI")
  195. bgui.AlwaysOnTop = true
  196. bgui.ExtentsOffset = Vector3.new(0,3,0)
  197. bgui.Size = UDim2.new(0,200,0,50)
  198. local nam = Instance.new("TextLabel",bgui)
  199. nam.Text = newPlayer.Name
  200. nam.BackgroundTransparency = 1
  201. nam.TextSize = 14
  202. nam.Font = ("Arial")
  203. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  204. nam.Size = UDim2.new(0,200,0,50)
  205. for _, p in pairs(newPlayer.Character:GetChildren()) do
  206. if p.Name == ("Head") then
  207. for _, f in pairs(faces) do
  208. local m = Instance.new("SurfaceGui",p)
  209. m.Name = ("EGUI")
  210. m.Face = f
  211. m.Active = true
  212. m.AlwaysOnTop = true
  213. local mf = Instance.new("Frame",m)
  214. mf.Size = UDim2.new(1,0,1,0)
  215. mf.BorderSizePixel = 0
  216. mf.BackgroundTransparency = 0.5
  217. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  218.  
  219. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  220. if tostring(wp.Status.HasBomb.Value) == "" then
  221. if tostring(newPlayer.Team) == "Terrorists" then
  222. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  223. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  224. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  225. end
  226. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  227. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  228. end
  229. end)
  230.  
  231. end
  232. end
  233. end
  234.  
  235. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  236. if tostring(wp.Status.HasBomb.Value) == "" then
  237. if tostring(newPlayer.Team) == "Terrorists" then
  238. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  239. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  240. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  241. end
  242. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  243. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  244. end
  245. end)
  246.  
  247. elseif tostring(newPlayer.Team) == "Terrorists" then
  248. local bgui = Instance.new("BillboardGui",newPlayer.Character.Head)
  249. bgui.Name = ("EGUI")
  250. bgui.AlwaysOnTop = true
  251. bgui.ExtentsOffset = Vector3.new(0,3,0)
  252. bgui.Size = UDim2.new(0,200,0,50)
  253. local nam = Instance.new("TextLabel",bgui)
  254. nam.Text = newPlayer.Name
  255. nam.BackgroundTransparency = 1
  256. nam.TextSize = 14
  257. nam.Font = ("Arial")
  258. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  259. nam.Size = UDim2.new(0,200,0,50)
  260. for _, p in pairs(newPlayer.Character:GetChildren()) do
  261. if p.Name == ("Head") then
  262. for _, f in pairs(faces) do
  263. local m = Instance.new("SurfaceGui",p)
  264. m.Name = ("EGUI")
  265. m.Face = f
  266. m.Active = true
  267. m.AlwaysOnTop = true
  268. local mf = Instance.new("Frame",m)
  269. mf.Size = UDim2.new(1,0,1,0)
  270. mf.BorderSizePixel = 0
  271. mf.BackgroundTransparency = 0.5
  272. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  273.  
  274. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  275. if tostring(wp.Status.HasBomb.Value) == "" then
  276. if tostring(newPlayer.Team) == "Terrorists" then
  277. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  278. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  279. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  280. end
  281. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  282. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  283. end
  284. end)
  285.  
  286. end
  287. end
  288. end
  289.  
  290. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  291. if tostring(wp.Status.HasBomb.Value) == "" then
  292. if tostring(newPlayer.Team) == "Terrorists" then
  293. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  294. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  295. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  296. end
  297. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  298. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  299. end
  300. end)
  301.  
  302. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  303. local bgui = Instance.new("BillboardGui",newPlayer.Character.Head)
  304. bgui.Name = ("EGUI")
  305. bgui.AlwaysOnTop = true
  306. bgui.ExtentsOffset = Vector3.new(0,3,0)
  307. bgui.Size = UDim2.new(0,200,0,50)
  308. local nam = Instance.new("TextLabel",bgui)
  309. nam.Text = newPlayer.Name
  310. nam.BackgroundTransparency = 1
  311. nam.TextSize = 14
  312. nam.Font = ("Arial")
  313. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  314. nam.Size = UDim2.new(0,200,0,50)
  315. for _, p in pairs(newPlayer.Character:GetChildren()) do
  316. if p.Name == ("Head") then
  317. for _, f in pairs(faces) do
  318. local m = Instance.new("SurfaceGui",p)
  319. m.Name = ("EGUI")
  320. m.Face = f
  321. m.Active = true
  322. m.AlwaysOnTop = true
  323. local mf = Instance.new("Frame",m)
  324. mf.Size = UDim2.new(1,0,1,0)
  325. mf.BorderSizePixel = 0
  326. mf.BackgroundTransparency = 0.5
  327. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  328.  
  329. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  330. if tostring(wp.Status.HasBomb.Value) == "" then
  331. if tostring(newPlayer.Team) == "Terrorists" then
  332. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  333. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  334. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  335. end
  336. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  337. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  338. end
  339. end)
  340.  
  341. end
  342. end
  343. end
  344.  
  345. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  346. if tostring(wp.Status.HasBomb.Value) == "" then
  347. if tostring(newPlayer.Team) == "Terrorists" then
  348. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  349. elseif tostring(newPlayer.Team) == "Counter-Terrorists" then
  350. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  351. end
  352. elseif tostring(wp.Status.HasBomb.Value) == newPlayer.Name then
  353. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  354. end
  355. end)
  356.  
  357. end
  358. end
  359. end)
  360. end)
  361.  
  362. wp.ChildAdded:connect(function(p)
  363. if p.Name == "C4" then
  364. local bgui = Instance.new("BillboardGui",p)
  365. bgui.Name = ("EGUI")
  366. bgui.AlwaysOnTop = true
  367. bgui.ExtentsOffset = Vector3.new(0,0,0)
  368. bgui.Size = UDim2.new(1,0,1,0)
  369. local nam = Instance.new("TextLabel",bgui)
  370. nam.Text = p.Name
  371. nam.BackgroundTransparency = 1
  372. nam.TextSize = 20
  373. nam.Font = ("Arial")
  374. nam.TextColor3 = Color3.fromRGB(75, 151, 75)
  375. nam.Size = UDim2.new(1,0,1,0)
  376. end
  377. end)
  378.  
  379. wp.Debris.ChildAdded:connect(function(p)
  380. if p.Name == "C4" then
  381. local bgui = Instance.new("BillboardGui",p)
  382. bgui.Name = ("EGUI")
  383. bgui.AlwaysOnTop = true
  384. bgui.ExtentsOffset = Vector3.new(0,0,0)
  385. bgui.Size = UDim2.new(1,0,1,0)
  386. local nam = Instance.new("TextLabel",bgui)
  387. nam.Text = p.Name .. " fall here"
  388. nam.BackgroundTransparency = 1
  389. nam.TextSize = 20
  390. nam.Font = ("Arial")
  391. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  392. nam.Size = UDim2.new(1,0,1,0)
  393. end
  394. end)
  395.  
  396. wp["Ray_Ignore"].ChildAdded:connect(function(p)
  397. for _, v in pairs(wp["Ray_Ignore"]:GetChildren()) do
  398. if tostring(v) == "Smokes" then
  399. v:Destroy()
  400. end
  401. end
  402. end)
  403.  
  404. for _, v in pairs(wp["Ray_Ignore"]:GetChildren()) do
  405. if tostring(v) == "Smokes" then
  406. v:Destroy()
  407. end
  408. end
  409. end
  410.  
  411. enableESPCode()
  412.  
  413. function espFirst()
  414. for _, o in pairs(plrs:GetPlayers()) do
  415. if tostring(o.Name) ~= tostring(lplr.Name) then
  416. if o.Character ~= nil then
  417. if tostring(o.Name) == tostring(wp.Status.HasBomb.Value) then
  418. local bgui = Instance.new("BillboardGui",o.Character.Head)
  419. bgui.Name = ("EGUI")
  420. bgui.AlwaysOnTop = true
  421. bgui.ExtentsOffset = Vector3.new(0,3,0)
  422. bgui.Size = UDim2.new(0,200,0,50)
  423. local nam = Instance.new("TextLabel",bgui)
  424. nam.Text = o.Name
  425. nam.BackgroundTransparency = 1
  426. nam.TextSize = 14
  427. nam.Font = ("Arial")
  428. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  429. nam.Size = UDim2.new(0,200,0,50)
  430. for _, p in pairs(o.Character:GetChildren()) do
  431. if p.Name == ("Head") then
  432. for _, f in pairs(faces) do
  433. local m = Instance.new("SurfaceGui",p)
  434. m.Name = ("EGUI")
  435. m.Face = f
  436. m.Active = true
  437. m.AlwaysOnTop = true
  438. local mf = Instance.new("Frame",m)
  439. mf.Size = UDim2.new(1,0,1,0)
  440. mf.BorderSizePixel = 0
  441. mf.BackgroundTransparency = 0.5
  442. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  443.  
  444. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  445. if tostring(wp.Status.HasBomb.Value) == "" then
  446. if tostring(o.Team) == "Terrorists" then
  447. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  448. elseif tostring(o.Team) == "Counter-Terrorists" then
  449. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  450. end
  451. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  452. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  453. end
  454. end)
  455.  
  456. end
  457. end
  458. end
  459.  
  460. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  461. if tostring(wp.Status.HasBomb.Value) == "" then
  462. if tostring(o.Team) == "Terrorists" then
  463. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  464. elseif tostring(o.Team) == "Counter-Terrorists" then
  465. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  466. end
  467. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  468. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  469. end
  470. end)
  471.  
  472. elseif tostring(o.Team) == "Terrorists" then
  473. local bgui = Instance.new("BillboardGui",o.Character.Head)
  474. bgui.Name = ("EGUI")
  475. bgui.AlwaysOnTop = true
  476. bgui.ExtentsOffset = Vector3.new(0,3,0)
  477. bgui.Size = UDim2.new(0,200,0,50)
  478. local nam = Instance.new("TextLabel",bgui)
  479. nam.Text = o.Name
  480. nam.BackgroundTransparency = 1
  481. nam.TextSize = 14
  482. nam.Font = ("Arial")
  483. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  484. nam.Size = UDim2.new(0,200,0,50)
  485. for _, p in pairs(o.Character:GetChildren()) do
  486. if p.Name == ("Head") then
  487. for _, f in pairs(faces) do
  488. local m = Instance.new("SurfaceGui",p)
  489. m.Name = ("EGUI")
  490. m.Face = f
  491. m.Active = true
  492. m.AlwaysOnTop = true
  493. local mf = Instance.new("Frame",m)
  494. mf.Size = UDim2.new(1,0,1,0)
  495. mf.BorderSizePixel = 0
  496. mf.BackgroundTransparency = 0.5
  497. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  498.  
  499. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  500. if tostring(wp.Status.HasBomb.Value) == "" then
  501. if tostring(o.Team) == "Terrorists" then
  502. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  503. elseif tostring(o.Team) == "Counter-Terrorists" then
  504. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  505. end
  506. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  507. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  508. end
  509. end)
  510.  
  511. end
  512. end
  513. end
  514.  
  515. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  516. if tostring(wp.Status.HasBomb.Value) == "" then
  517. if tostring(o.Team) == "Terrorists" then
  518. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  519. elseif tostring(o.Team) == "Counter-Terrorists" then
  520. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  521. end
  522. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  523. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  524. end
  525. end)
  526.  
  527. elseif tostring(o.Team) == "Counter-Terrorists" then
  528. local bgui = Instance.new("BillboardGui",o.Character.Head)
  529. bgui.Name = ("EGUI")
  530. bgui.AlwaysOnTop = true
  531. bgui.ExtentsOffset = Vector3.new(0,3,0)
  532. bgui.Size = UDim2.new(0,200,0,50)
  533. local nam = Instance.new("TextLabel",bgui)
  534. nam.Text = o.Name
  535. nam.BackgroundTransparency = 1
  536. nam.TextSize = 14
  537. nam.Font = ("Arial")
  538. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  539. nam.Size = UDim2.new(0,200,0,50)
  540. for _, p in pairs(o.Character:GetChildren()) do
  541. if p.Name == ("Head") then
  542. for _, f in pairs(faces) do
  543. local m = Instance.new("SurfaceGui",p)
  544. m.Name = ("EGUI")
  545. m.Face = f
  546. m.Active = true
  547. m.AlwaysOnTop = true
  548. local mf = Instance.new("Frame",m)
  549. mf.Size = UDim2.new(1,0,1,0)
  550. mf.BorderSizePixel = 0
  551. mf.BackgroundTransparency = 0.5
  552. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  553.  
  554. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  555. if tostring(wp.Status.HasBomb.Value) == "" then
  556. if tostring(o.Team) == "Terrorists" then
  557. mf.BackgroundColor3 = Color3.fromRGB(196, 40, 28)
  558. elseif tostring(o.Team) == "Counter-Terrorists" then
  559. mf.BackgroundColor3 = Color3.fromRGB(13, 105, 172)
  560. end
  561. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  562. mf.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  563. end
  564. end)
  565.  
  566. end
  567. end
  568. end
  569.  
  570. wp.Status.HasBomb:GetPropertyChangedSignal("Value"):connect(function()
  571. if tostring(wp.Status.HasBomb.Value) == "" then
  572. if tostring(o.Team) == "Terrorists" then
  573. nam.TextColor3 = Color3.fromRGB(196, 40, 28)
  574. elseif tostring(o.Team) == "Counter-Terrorists" then
  575. nam.TextColor3 = Color3.fromRGB(13, 105, 172)
  576. end
  577. elseif tostring(wp.Status.HasBomb.Value) == o.Name then
  578. nam.TextColor3 = Color3.fromRGB(245, 205, 48)
  579. end
  580. end)
  581.  
  582. end
  583. end
  584. end
  585. end
  586. end
  587.  
  588. espFirst()
RAW Paste Data