Advertisement
Guest User

OP Apoc GUI Made By imgoodatroblock

a guest
Feb 16th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.17 KB | None | 0 0
  1. --[[V2.3 Updates:
  2.  
  3. 1. More message colors
  4. 2. Kill and Kill all
  5.  
  6. ]]
  7.  
  8. wait(0.3)
  9. sg = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  10. sg.Name = ("ApocGui")
  11.  
  12. tab = Instance.new("Frame",sg)
  13. tab.Name = ("Tab")
  14.  
  15. credits = Instance.new("TextLabel",tab)
  16. credits.Name = ("Credits")
  17.  
  18. frame = Instance.new("Frame",tab)
  19. frame.Name = ("Main")
  20.  
  21. xout = Instance.new("TextButton",tab)
  22. xout.Name = ("xout")
  23.  
  24. tpbody = Instance.new("TextButton",frame)
  25. tpbody.Name = ("tpbody")
  26.  
  27. movequick = Instance.new("TextButton",frame)
  28. movequick.Name = ("movequick")
  29.  
  30. spec = Instance.new("TextButton",frame)
  31. spec.Name = ("Spectate")
  32.  
  33. pname = Instance.new("TextBox",frame)
  34. pname.Name = ("PName")
  35.  
  36. esp = Instance.new("TextButton",frame)
  37. esp.Name = ("Esp")
  38.  
  39. spawngui = Instance.new("TextButton",frame)
  40. spawngui.Name = ("spawner")
  41.  
  42. frame2 = Instance.new("Frame",tab)
  43. frame2.Name = ("SpawnGui")
  44.  
  45. closesg = Instance.new("TextButton",frame2)
  46. closesg.Name = ("closesg")
  47.  
  48. spawnitem = Instance.new("TextBox",frame2)
  49. spawnitem.Name = ("SpawnItem")
  50.  
  51. amount = Instance.new("TextBox",frame2)
  52. amount.Name = ("Amount")
  53.  
  54. spawn1 = Instance.new("TextButton",frame2)
  55. spawn1.Name = ("spawn1")
  56.  
  57. patriotkit = Instance.new("TextButton",frame2)
  58. spawn1.Name = ("spawn1")
  59.  
  60. bloodkit = Instance.new("TextButton",frame2)
  61. spawn1.Name = ("spawn1")
  62.  
  63. carkit = Instance.new("TextButton",frame2)
  64. spawn1.Name = ("spawn1")
  65.  
  66. basekit = Instance.new("TextButton",frame2)
  67. spawn1.Name = ("spawn1")
  68.  
  69. tpcrate = Instance.new("TextButton",frame)
  70. tpcrate.Name = ("CrateTp")
  71.  
  72. frame3 = Instance.new("Frame",frame)
  73. frame3.Name = ("frame3")
  74.  
  75. god = Instance.new("TextButton",frame)
  76. god.Name = ("god")
  77.  
  78. messagebox = Instance.new("TextBox",frame3)
  79. messagebox.Name = ("message")
  80.  
  81. redm = Instance.new("TextButton",frame3)
  82. redm.Name = ("redm")
  83.  
  84. bluem = Instance.new("TextButton",frame3)
  85. bluem.Name = ("bluem")
  86.  
  87. yellowm = Instance.new("TextButton",frame3)
  88. yellowm.Name = ("yellowm")
  89.  
  90. killp = Instance.new("TextButton",frame3)
  91. killp.Name = ("killp")
  92.  
  93. killall = Instance.new("TextButton",frame3)
  94. killall.Name = ("Killall")
  95.  
  96. spectating = false
  97.  
  98. page1 = true
  99.  
  100. --GuiAppearance
  101. frame.Size = UDim2.new(0,365,0,200)
  102. frame.Position = UDim2.new(0,0,0,30)
  103. frame.BorderSizePixel = 0
  104. frame.BackgroundColor3 = Color3.new(255/255,127/255,0/255)
  105.  
  106. frame2.Size = UDim2.new(0,365,0,200)
  107. frame2.Position = UDim2.new(20,0,0,30)
  108. frame2.BorderSizePixel = 0
  109. frame2.BackgroundColor3 = Color3.new(255/255,127/255,0/255)
  110.  
  111. tab.Size = UDim2.new(0,365,0,30)
  112. tab.Position = UDim2.new(0.3,0,0.3,0)
  113. tab.Active = true
  114. tab.Draggable = true
  115. tab.BorderSizePixel = 0
  116. tab.BackgroundColor3 = Color3.new(0,1,1)
  117.  
  118. credits.Position = UDim2.new(0,117,0,10)
  119. credits.Text = ("OP Apoc GUI Made By imgoodatroblock")
  120. credits.Font = ("SciFi")
  121. credits.TextSize = 15
  122.  
  123. xout.Position = UDim2.new(0,335,0,0)
  124. xout.Size = UDim2.new(0,30,0,30)
  125. xout.BackgroundColor3 = Color3.new(255,0,0)
  126. xout.Text = ("X")
  127. xout.TextColor3 = Color3.new(0,0,0)
  128. xout.TextSize = 17
  129. xout.Font = ("Arial")
  130. xout.BorderSizePixel = 0
  131.  
  132.  
  133. tpbody.Size = UDim2.new(0,95,0,50)
  134. tpbody.Position = UDim2.new(0,135,0,125)
  135. tpbody.BackgroundColor3 = Color3.new(1,1,1)
  136. tpbody.BorderSizePixel = 0
  137. tpbody.Text = ("Teleport Bodies")
  138. tpbody.TextScaled = true
  139. tpbody.Font = ("Arial")
  140.  
  141. movequick.Size = UDim2.new(0,95,0,50)
  142. movequick.Position = UDim2.new(0,135,0,50)
  143. movequick.BackgroundColor3 = Color3.new(1,1,1)
  144. movequick.BorderSizePixel = 0
  145. movequick.Text = ("Body Launch Forward")
  146. movequick.TextScaled = true
  147. movequick.Font = ("Arial")
  148.  
  149. spec.Size = UDim2.new(0,95,0,50)
  150. spec.Position = UDim2.new(0,250,0,50)
  151. spec.BackgroundColor3 = Color3.new(1,1,1)
  152. spec.BorderSizePixel = 0
  153. spec.Text = ("Spectate player")
  154. spec.TextScaled = true
  155. spec.Font = ("Arial")
  156.  
  157. pname.Size = UDim2.new(0,100,0,30)
  158. pname.Position = UDim2.new(0,10,0,10)
  159. pname.BackgroundColor3 = Color3.new(1,1,1)
  160. pname.BorderSizePixel = 0
  161. pname.Text = ("Player(cApS)")
  162. pname.TextScaled = true
  163. pname.Font = ("Arial")
  164.  
  165.  
  166. esp.Size = UDim2.new(0,95,0,50)
  167. esp.Position = UDim2.new(0,20,0,125)
  168. esp.BackgroundColor3 = Color3.new(1,1,1)
  169. esp.BorderSizePixel = 0
  170. esp.Text = ("Mustardfoot ESP")
  171. esp.TextScaled = true
  172. esp.Font = ("Arial")
  173.  
  174. spect = Instance.new("TextButton")
  175. spect.Position = UDim2.new(0.4,0,5,20)
  176. spect.Text = ("Stop Spectating")
  177. spect.Size = UDim2.new(0,60,0,30)
  178. spect.BackgroundColor3 = Color3.new(1,1,1)
  179. spect.Font = ("Arial")
  180. spect.TextSize = 15
  181.  
  182. spawngui.Size = UDim2.new(0,95,0,50)
  183. spawngui.Position = UDim2.new(0,20,0,50)
  184. spawngui.BackgroundColor3 = Color3.new(1,1,1)
  185. spawngui.BorderSizePixel = 0
  186. spawngui.Text = ("Open Spawning Gui")
  187. spawngui.TextScaled = true
  188. spawngui.Font = ("Arial")
  189.  
  190. closesg.Size = UDim2.new(0,95,0,50)
  191. closesg.Position = UDim2.new(0,20,0,50)
  192. closesg.BackgroundColor3 = Color3.new(1,1,1)
  193. closesg.BorderSizePixel = 0
  194. closesg.Text = ("Open Regular Gui")
  195. closesg.TextScaled = true
  196. closesg.Font = ("Arial")
  197.  
  198. tpcrate.Size = UDim2.new(0,95,0,50)
  199. tpcrate.Position = UDim2.new(0,250,0,125)
  200. tpcrate.BackgroundColor3 = Color3.new(1,1,1)
  201. tpcrate.BorderSizePixel = 0
  202. tpcrate.Text = ("Teleport Crates")
  203. tpcrate.TextScaled = true
  204. tpcrate.Font = ("Arial")
  205.  
  206. spawnitem.Size = UDim2.new(0,100,0,30)
  207. spawnitem.Position = UDim2.new(0,10,0,10)
  208. spawnitem.BackgroundColor3 = Color3.new(1,1,1)
  209. spawnitem.BorderSizePixel = 0
  210. spawnitem.Text = ("Item (cApS)")
  211. spawnitem.TextScaled = true
  212. spawnitem.Font = ("Arial")
  213.  
  214. amount.Size = UDim2.new(0,50,0,30)
  215. amount.Position = UDim2.new(0,120,0,10)
  216. amount.BackgroundColor3 = Color3.new(1,1,1)
  217. amount.BorderSizePixel = 0
  218. amount.Text = ("Amount(5 max)")
  219. amount.TextScaled = true
  220. amount.Font = ("Arial")
  221.  
  222. spawn1.Size = UDim2.new(0,95,0,50)
  223. spawn1.Position = UDim2.new(0,135,0,50)
  224. spawn1.BackgroundColor3 = Color3.new(1,1,1)
  225. spawn1.BorderSizePixel = 0
  226. spawn1.Text = ("Spawn Item")
  227. spawn1.TextScaled = true
  228. spawn1.Font = ("Arial")
  229.  
  230. patriotkit.Size = UDim2.new(0,95,0,50)
  231. patriotkit.Position = UDim2.new(0,250,0,50)
  232. patriotkit.BackgroundColor3 = Color3.new(1,1,1)
  233. patriotkit.BorderSizePixel = 0
  234. patriotkit.Text = ("Patriot Kit")
  235. patriotkit.TextScaled = true
  236. patriotkit.Font = ("Arial")
  237.  
  238. bloodkit.Size = UDim2.new(0,95,0,50)
  239. bloodkit.Position = UDim2.new(0,20,0,125)
  240. bloodkit.BackgroundColor3 = Color3.new(1,1,1)
  241. bloodkit.BorderSizePixel = 0
  242. bloodkit.Text = ("Health Kit")
  243. bloodkit.TextScaled = true
  244. bloodkit.Font = ("Arial")
  245.  
  246. carkit.Size = UDim2.new(0,95,0,50)
  247. carkit.Position = UDim2.new(0,135,0,125)
  248. carkit.BackgroundColor3 = Color3.new(1,1,1)
  249. carkit.BorderSizePixel = 0
  250. carkit.Text = ("Car Kit")
  251. carkit.TextScaled = true
  252. carkit.Font = ("Arial")
  253.  
  254. basekit.Size = UDim2.new(0,95,0,50)
  255. basekit.Position = UDim2.new(0,250,0,125)
  256. basekit.BackgroundColor3 = Color3.new(1,1,1)
  257. basekit.BorderSizePixel = 0
  258. basekit.Text = ("Base Kit")
  259. basekit.TextScaled = true
  260. basekit.Font = ("Arial")
  261.  
  262. frame3.Size = UDim2.new(0,365,0,150)
  263. frame3.Position = UDim2.new(0,0,0,200)
  264. frame3.BorderSizePixel = 0
  265. frame3.BackgroundColor3 = Color3.new(255/255,127/255,0/255)
  266.  
  267. god.Size = UDim2.new(0,95,0,50)
  268. god.Position = UDim2.new(0,20,0,200)
  269. god.BackgroundColor3 = Color3.new(1,1,1)
  270. god.BorderSizePixel = 0
  271. god.Text = ("God Mode")
  272. god.TextScaled = true
  273. god.Font = ("Arial")
  274.  
  275. messagebox.Size = UDim2.new(0,95,0,30)
  276. messagebox.Position = UDim2.new(0,135,0,10)
  277. messagebox.BackgroundColor3 = Color3.new(1,1,1)
  278. messagebox.BorderSizePixel = 0
  279. messagebox.Text = ("Server Message")
  280. messagebox.TextScaled = true
  281. messagebox.Font = ("Arial")
  282.  
  283. redm.Size = UDim2.new(0,31,0,30)
  284. redm.Position = UDim2.new(0,250,0,10)
  285. redm.BackgroundColor3 = Color3.new(255,0,0)
  286. redm.BorderSizePixel = 0
  287. redm.Text = ("")
  288. redm.TextScaled = true
  289. redm.Font = ("Arial")
  290.  
  291. bluem.Size = UDim2.new(0,31,0,30)
  292. bluem.Position = UDim2.new(0,281,0,10)
  293. bluem.BackgroundColor3 = Color3.new(0,0,255)
  294. bluem.BorderSizePixel = 0
  295. bluem.Text = ("")
  296. bluem.TextScaled = true
  297. bluem.Font = ("Arial")
  298. bluem.TextColor3 = Color3.new(1,1,1)
  299.  
  300. yellowm.Size = UDim2.new(0,31,0,30)
  301. yellowm.Position = UDim2.new(0,312,0,10)
  302. yellowm.BackgroundColor3 = Color3.new(255,255,0)
  303. yellowm.BorderSizePixel = 0
  304. yellowm.Text = ("")
  305. yellowm.TextSize = UDim2.new(20)
  306. yellowm.Font = ("Arial")
  307.  
  308. killp.Size = UDim2.new(0,95,0,50)
  309. killp.Position = UDim2.new(0,20,0,75)
  310. killp.BackgroundColor3 = Color3.new(1,1,1)
  311. killp.BorderSizePixel = 0
  312. killp.Text = ("Kill Player")
  313. killp.TextScaled = true
  314. killp.Font = ("Arial")
  315.  
  316. killall.Size = UDim2.new(0,95,0,50)
  317. killall.Position = UDim2.new(0,135,0,75)
  318. killall.BackgroundColor3 = Color3.new(1,1,1)
  319. killall.BorderSizePixel = 0
  320. killall.Text = ("Kill Others")
  321. killall.TextScaled = true
  322. killall.Font = ("Arial")
  323.  
  324.  
  325.  
  326. --ButtonActions
  327.  
  328. xout.MouseEnter:connect(function()
  329. xout.BackgroundColor3 = Color3.new(255/255,50/255,50/255)
  330. end)
  331. xout.MouseLeave:connect(function()
  332. xout.BackgroundColor3 = Color3.new(255,0,0)
  333. end)
  334. xout.MouseButton1Up:connect(function()
  335. sg:Remove()
  336. end)
  337.  
  338.  
  339. pname.InputEnded:connect(function()
  340. if pname.Text == ("") then
  341. pname.Text = ("Player(cApS)")
  342. end
  343. end)
  344.  
  345. spawnitem.InputEnded:connect(function()
  346. if spawnitem.Text == ("") then
  347. spawnitem.Text = ("Item (cApS)")
  348. end
  349. end)
  350.  
  351.  
  352. tpbody.MouseButton1Up:connect(function()
  353.  
  354. for i,v in pairs(workspace:GetChildren()) do
  355. if v.Name == "Corpse" then
  356. v:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  357. end
  358. end
  359.  
  360. end)
  361. cooldown = false
  362. movequick.MouseButton1Up:connect(function()
  363. if cooldown == false then
  364. cooldown = true
  365. local v = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character.Torso)
  366. v.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*50
  367. v.maxForce = Vector3.new(5000,5000,5000)
  368. game.Debris:AddItem(v,2)
  369. wait(2)
  370. --RR Apoc Gui Made by RelentlessRaptor/!!!RelentlessRaptor on discord
  371.  
  372. movequick.Text = ("5")
  373. wait(1)
  374. movequick.Text = ("4")
  375. wait(1)
  376. movequick.Text = ("3")
  377. wait(1)
  378. movequick.Text = ("2")
  379. wait(1)
  380. movequick.Text = ("1")
  381. wait(1)
  382. movequick.Text = ("Body Launch Forward (Don't sprint)")
  383. cooldown = false
  384. end
  385. end)
  386.  
  387. ---
  388.  
  389. spec.MouseButton1Up:connect(function()
  390. if spectating == false then
  391. spectating = true
  392. wait(0.1)
  393. spect.Position = UDim2.new(0,300,0,20)
  394. game.Workspace.CurrentCamera.CameraSubject = game.Players[pname.Text].Character.Humanoid
  395. end
  396. if spectating == true then
  397. wait(0.1)
  398. spectating = false
  399. spect.Position = UDim2.new(0,0,5,0)
  400. end
  401.  
  402. end)
  403.  
  404.  
  405.  
  406.  
  407. ---
  408.  
  409.  
  410. esp.MouseButton1Up:connect(function()
  411. crashy = false -- CHANGE THIS TO TRUE IF IT CRASHES THIS GAME
  412. on = false
  413. if game.CoreGui:FindFirstChild('ESP') then
  414. game.CoreGui.ESP:Destroy()
  415. elseif game.Players.LocalPlayer.PlayerGui:FindFirstChild('ESP') then
  416. game.Players.LocalPlayer.PlayerGui.ESP:Destroy()
  417. end
  418.  
  419. function doit(hey)
  420. local t1 = Instance.new('SurfaceGui',hey)
  421. t1.AlwaysOnTop = true
  422. local t1g = Instance.new('Frame',t1)
  423. t1g.Size = UDim2.new(1,0,1,0)
  424. t1g.BackgroundColor3 = t1.Parent.BrickColor.Color
  425. local t2 = Instance.new('SurfaceGui',hey)
  426. t2.AlwaysOnTop = true
  427. t2.Face = Enum.NormalId.Right
  428. local t2g = Instance.new('Frame',t2)
  429. t2g.Size = UDim2.new(1,0,1,0)
  430. t2g.BackgroundColor3 = t2.Parent.BrickColor.Color
  431. local t3 = Instance.new('SurfaceGui',hey)
  432. t3.AlwaysOnTop = true
  433. t3.Face = Enum.NormalId.Left
  434. local t3g = Instance.new('Frame',t3)
  435. t3g.Size = UDim2.new(1,0,1,0)
  436. t3g.BackgroundColor3 = t3.Parent.BrickColor.Color
  437. local t4 = Instance.new('SurfaceGui',hey)
  438. t4.AlwaysOnTop = true
  439. t4.Face = Enum.NormalId.Back
  440. local t4g = Instance.new('Frame',t4)
  441. t4g.Size = UDim2.new(1,0,1,0)
  442. t4g.BackgroundColor3 = t4.Parent.BrickColor.Color
  443. local t5 = Instance.new('SurfaceGui',hey)
  444. t5.AlwaysOnTop = true
  445. t5.Face = Enum.NormalId.Top
  446. local t5g = Instance.new('Frame',t5)
  447. t5g.Size = UDim2.new(1,0,1,0)
  448. t5g.BackgroundColor3 = t5.Parent.BrickColor.Color
  449. local t6 = Instance.new('SurfaceGui',hey)
  450. t6.AlwaysOnTop = true
  451. t6.Face = Enum.NormalId.Bottom
  452. local t6g = Instance.new('Frame',t6)
  453. t6g.Size = UDim2.new(1,0,1,0)
  454. t6g.BackgroundColor3 = t6.Parent.BrickColor.Color
  455. end
  456. function undo(chr)
  457. for i,v in pairs(chr:GetChildren()) do
  458. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  459. for a,c in pairs(v:GetChildren()) do
  460. if c.ClassName == "SurfaceGui" then
  461. c:Destroy()
  462. end
  463. if c.ClassName == "BillboardGui" and c.Name == "thingyye" then
  464. c:Destroy()
  465. end
  466. end
  467. end
  468. end
  469. end
  470.  
  471. local gui = Instance.new('ScreenGui')
  472. if crashy == false then
  473. gui.Parent = game.CoreGui
  474. else
  475. gui.Parent = game.Players.LocalPlayer.PlayerGui
  476. end
  477. gui.Name = "ESP"
  478. gui.ResetOnSpawn = false
  479. local frame = Instance.new('Frame',gui)
  480. frame.Size = UDim2.new(0.2,0,0.3,0)
  481. frame.Position = UDim2.new(0,0,0.9,0)
  482. frame.BackgroundTransparency = 0.5
  483. frame.BackgroundColor3 = Color3.fromRGB(131,182,239)
  484. frame.BorderSizePixel = 4
  485. frame.BorderColor3 = Color3.fromRGB(66,134,244)
  486. frame.Active = true
  487. frame.Draggable = true
  488. local txt = Instance.new('TextLabel',frame)
  489. txt.Text = "Mustardfoot's ESP Gui"
  490. txt.TextColor3 = Color3.fromRGB(255,255,255)
  491. txt.Size = UDim2.new(1,0,0.3,0)
  492. txt.TextScaled = true
  493. txt.BackgroundTransparency = 1
  494. local but = Instance.new('TextButton',frame)
  495. but.Text = "ESP On"
  496. but.TextColor3 = Color3.fromRGB(255,255,255)
  497. but.Size = UDim2.new(0.7,0,0.3,0)
  498. but.Position = UDim2.new(0.15,0,0.5,0)
  499. but.BorderSizePixel = 0
  500. but.TextScaled = true
  501. but.BackgroundColor3 = Color3.fromRGB(66,134,244)
  502. but.BackgroundTransparency = 0.4
  503. for i,v in pairs(game.Players:GetChildren()) do
  504. if v.Character ~= nil then
  505. undo(v.Character)
  506. end
  507. end
  508.  
  509. but.MouseButton1Down:connect(function()
  510. if but.Text == "ESP On" then
  511. but.Text = "ESP Off"
  512. on = true
  513. for i,v in pairs(game.Players:GetChildren()) do
  514. if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
  515. if v.Character:FindFirstChild('Head') then
  516. local bill = Instance.new('BillboardGui',v.Character.Head)
  517. bill.Name = "thingyye"
  518. bill.AlwaysOnTop = true
  519. bill.Size = UDim2.new(2,1,2)
  520. bill.Adornee = v.Character.Head
  521. local txt = Instance.new('TextLabel',bill)
  522. txt.Text = v.Name
  523. txt.BackgroundTransparency = 1
  524. txt.Size = UDim2.new(1,0,1,0)
  525. txt.TextColor3 = v.TeamColor.Color
  526. end
  527. for a,c in pairs(v.Character:GetChildren()) do
  528. if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
  529. doit(c)
  530. elseif c.ClassName == "Part" and c.Transparency ~= 1 then
  531. doit(c)
  532. end
  533. end
  534. end
  535. end
  536. else
  537. but.Text = "ESP On"
  538. on = false
  539. for i,v in pairs(game.Players:GetChildren()) do
  540. undo(v.Character)
  541. end
  542. end
  543. end)
  544.  
  545. for i,v in pairs(game.Players:GetChildren()) do
  546. v.CharacterAdded:connect(function()
  547. v.Character:WaitForChild('Head')
  548. wait(1)
  549. if on == true then
  550. if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
  551. if v.Character:FindFirstChild('Head') then
  552. local bill = Instance.new('BillboardGui',v.Character.Head)
  553. bill.Name = "thingyye"
  554. bill.AlwaysOnTop = true
  555. bill.Size = UDim2.new(2,1,2)
  556. bill.Adornee = v.Character.Head
  557. local txt = Instance.new('TextLabel',bill)
  558. txt.Text = v.Name
  559. txt.BackgroundTransparency = 1
  560. txt.Size = UDim2.new(1,0,1,0)
  561. txt.TextColor3 = v.TeamColor.Color
  562. end
  563. for a,c in pairs(v.Character:GetChildren()) do
  564. if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
  565. doit(c)
  566. elseif c.ClassName == "Part" and c.Transparency ~= 1 then
  567. doit(c)
  568. end
  569. end
  570. end
  571. end
  572. end)
  573. end
  574.  
  575. game.Players.PlayerAdded:connect(function(v)
  576. v.CharacterAdded:connect(function()
  577. v.Character:WaitForChild('Head')
  578. wait(1)
  579. if on == true then
  580. if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
  581. if v.Character:FindFirstChild('Head') then
  582. local bill = Instance.new('BillboardGui',v.Character.Head)
  583. bill.Name = "thingyye"
  584. bill.AlwaysOnTop = true
  585. bill.Size = UDim2.new(2,1,2)
  586. bill.Adornee = v.Character.Head
  587. local txt = Instance.new('TextLabel',bill)
  588. txt.Text = v.Name
  589. txt.BackgroundTransparency = 1
  590. txt.Size = UDim2.new(1,0,1,0)
  591. txt.TextColor3 = v.TeamColor.Color
  592. end
  593. for a,c in pairs(v.Character:GetChildren()) do
  594. if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
  595. doit(c)
  596. elseif c.ClassName == "Part" and c.Transparency ~= 1 then
  597. doit(c)
  598. end
  599. end
  600. end
  601. end
  602. end)
  603. end)
  604. end)
  605.  
  606.  
  607.  
  608. spawngui.MouseButton1Down:connect(function()
  609. frame.Position = UDim2.new(20,0,0,0)
  610. frame2.Position = UDim2.new(0,0,0,30)
  611.  
  612.  
  613.  
  614. end)
  615.  
  616.  
  617. closesg.MouseButton1Down:connect(function()
  618. page1 = true
  619. frame.Position = UDim2.new(0,0,0,30)
  620. frame2.Position = UDim2.new(20,0,0,0)
  621.  
  622. end)
  623.  
  624. spawn1.MouseButton1Down:connect(function()
  625.  
  626. local function s(n)
  627. local new = game.Lighting.LootDrops[n]:Clone()
  628. new.Parent = workspace
  629. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  630. end
  631. if amount.Text == ("2") then
  632. spawner ={spawnitem.Text, spawnitem.Text}
  633. elseif amount.Text == ("3") then
  634. spawner ={spawnitem.Text, spawnitem.Text, spawnitem.Text}
  635. elseif amount.Text == ("4") then
  636. spawner ={spawnitem.Text, spawnitem.Text, spawnitem.Text, spawnitem.Text}
  637. elseif amount.Text == ("5") then
  638. spawner ={spawnitem.Text, spawnitem.Text, spawnitem.Text, spawnitem.Text, spawnitem.Text}
  639. else
  640. spawner ={spawnitem.Text}
  641. end
  642.  
  643.  
  644.  
  645. for sp = 1, #spawner do
  646. s(spawner[sp])
  647.  
  648. end
  649. end)
  650.  
  651. patriotkit.MouseButton1Down:connect(function()
  652. local function s(n)
  653. local new = game.Lighting.LootDrops[n]:Clone()
  654. new.Parent = workspace
  655. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  656. end
  657. spawner ={"G36K","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","ACOG","Suppressor556","MilitaryPackBlack","Grip"}
  658.  
  659. for sp = 1, #spawner do
  660. s(spawner[sp])
  661. end
  662. end)
  663.  
  664. bloodkit.MouseButton1Down:connect(function()
  665. local function s(n)
  666. local new = game.Lighting.LootDrops[n]:Clone()
  667. new.Parent = workspace
  668. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  669. end
  670. spawner ={"BloodBag","BloodBag","BloodBag","BloodBag","Painkillers","Painkillers","WaterBottle","WaterBottle","MRE","MRE"}
  671.  
  672. for sp = 1, #spawner do
  673. s(spawner[sp])
  674. end
  675. end)
  676.  
  677. carkit.MouseButton1Down:connect(function()
  678. local function s(n)
  679. local new = game.Lighting.LootDrops[n]:Clone()
  680. new.Parent = workspace
  681. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  682. end
  683. spawner ={"ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ScrapMetal","EngineParts","FuelTank","BallisticGlass","ArmorPlates","JerryCan","JerryCan"}
  684.  
  685. for sp = 1, #spawner do
  686. s(spawner[sp])
  687. end
  688. end)
  689.  
  690. basekit.MouseButton1Down:connect(function()
  691. local function s(n)
  692. local new = game.Lighting.LootDrops[n]:Clone()
  693. new.Parent = workspace
  694. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  695. end
  696. spawner ={"Material5","Material5","Material5","Material3","Material4","LargeCrate","LargeCrate","Entrencher"}
  697.  
  698. for sp = 1, #spawner do
  699. s(spawner[sp])
  700. end
  701. end)
  702.  
  703. tpcrate.MouseButton1Down:connect(function()
  704.  
  705. for _,v in pairs(workspace:children()) do
  706. if v.Name == "LargeCrateOpen" or v.Name == "SmallCrateOpen" then
  707. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  708. end
  709. end
  710. end)
  711.  
  712. god.MouseButton1Down:connect(function()
  713. while true do
  714. wait(0.01)
  715. if game.Players.LocalPlayer.Character.Humanoid.Health < 101 then
  716.  
  717. game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid.Health,game.Players.LocalPlayer.Character.Humanoid.Health- 100)
  718. --Don't take my god script and take credit for it. Just give me credit and you can.
  719. end
  720. end
  721. end)
  722.  
  723. messagebox.InputEnded:connect(function()
  724.  
  725. if messagebox.Text == ("") then
  726. messagebox.Text = ("Server Message")
  727. end
  728. end)
  729. redm.MouseButton1Down:connect(function()
  730. for i,v in pairs(game.Players:GetChildren())do
  731. local var = Instance.new("StringValue")
  732. var.Value = "Red"
  733. game.Workspace.Remote.SendMessage:FireServer(v,tostring(var.Value),tostring(messagebox.Text))
  734. end
  735. end)
  736.  
  737. bluem.MouseButton1Down:connect(function()
  738. for i,v in pairs(game.Players:GetChildren())do
  739. local var = Instance.new("StringValue")
  740. var.Value = "Blue"
  741. game.Workspace.Remote.SendMessage:FireServer(v,tostring(var.Value),tostring(messagebox.Text))
  742. end
  743. end)
  744.  
  745. yellowm.MouseButton1Down:connect(function()
  746. for i,v in pairs(game.Players:GetChildren())do
  747. local var = Instance.new("StringValue")
  748. var.Value = "Yellow"
  749. game.Workspace.Remote.SendMessage:FireServer(v,tostring(var.Value),tostring(messagebox.Text))
  750. end
  751. end)
  752.  
  753. killp.MouseButton1Down:connect(function()
  754.  
  755. player = game.Players.LocalPlayer
  756.  
  757. function findergun()
  758. local back = player.Backpack:GetChildren()
  759. for a = 1, #back do
  760. if back[a]:IsA("Model") and back[a]:FindFirstChild("Shooter") then return back[a] end
  761. end
  762. return nil
  763. end
  764.  
  765. local findgun = findergun()
  766.  
  767. for i, v in ipairs(game.Players:GetChildren()) do
  768. if findgun and v.Character and v ~= player then
  769. if v.Name == pname.Text then
  770. for i = 1, 6 do game.Workspace.Remote.DoHitLogic:FireServer(findgun, v.Character.Head) end
  771. end
  772.  
  773. end
  774. end
  775.  
  776.  
  777. end)
  778.  
  779. killall.MouseButton1Down:connect(function()
  780.  
  781. player = game.Players.LocalPlayer
  782.  
  783. function findergun()
  784. local back = player.Backpack:GetChildren()
  785. for a = 1, #back do
  786. if back[a]:IsA("Model") and back[a]:FindFirstChild("Shooter") then return back[a] end
  787. end
  788. return nil
  789. end
  790.  
  791. local findgun = findergun()
  792.  
  793. for i, v in ipairs(game.Players:GetChildren()) do
  794. if findgun and v.Character and v ~= player then
  795. for i = 1, 6 do game.Workspace.Remote.DoHitLogic:FireServer(findgun, v.Character.Head) end
  796. end
  797. end
  798.  
  799. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement