Advertisement
Guest User

ApocGuiRevampedByKilas

a guest
Aug 17th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.96 KB | None | 0 0
  1. -- Apoc Gui Revamped By Kilas
  2. local Text = Instance.new("TextLabel")
  3. local Main = Instance.new("Frame")
  4. local CF = Instance.new("ScreenGui")
  5. local CG69 = game.CoreGui
  6. local Tab1 = Instance.new("TextButton")
  7. local Tab2 = Instance.new("TextButton")
  8. local Tab3 = Instance.new("TextButton")
  9. local Kits = Instance.new("Frame")
  10. local Item = Instance.new("Frame")
  11. local Stat = Instance.new("Frame")
  12. local exit = Instance.new("TextButton")
  13. local minus = Instance.new("TextButton")
  14. local open = Instance.new("TextButton")
  15.  
  16.  
  17.  
  18. local place = UDim2.new(0, 0, 0, 70)
  19. local size = UDim2.new(0, 300, 0, 120)
  20.  
  21. CF.Name = "APOC"
  22. CF.Parent = CG69
  23. local CGG = CG69["APOC"]
  24.  
  25. open.Name = "Open"
  26. open.Parent = CF
  27. open.BackgroundColor3 = Color3.new(0.3, 0.6, 0.9)
  28. open.Position = UDim2.new(0, 0, 0.4, 0)
  29. open.Size = UDim2.new(0, 70, 0, 30)
  30. open.Font = Enum.Font.Cartoon
  31. open.FontSize = Enum.FontSize.Size14
  32. open.Text = "Open"
  33. open.TextSize = 18
  34. open.Visible = false
  35.  
  36. Main.Name = "Main"
  37. Main.Parent = CF
  38. Main.BackgroundColor3 = Color3.new(0.1, 0.6, 0.3)
  39. Main.BorderColor3 = Color3.new(0, 0, 0)
  40. Main.Position = UDim2.new(0, 500, 0, 500)
  41. Main.Size = UDim2.new(0, 300, 0, 75)
  42. Main.Visible = true
  43. Main.Draggable = true
  44. Main.Active = true
  45.  
  46. Text.Name = "Text"
  47. Text.Parent = Main
  48. Text.BackgroundColor3 = Color3.new(1, 1, 1)
  49. Text.BackgroundTransparency = 1
  50. Text.Position = UDim2.new(0.45, 0, 0, 0)
  51. Text.Size = UDim2.new(0, 20, 0, 35)
  52. Text.Font = Enum.Font.SourceSansBold
  53. Text.FontSize = Enum.FontSize.Size18
  54. Text.Text = "Apocalypse GUI"
  55. Text.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  56. Text.TextSize = 18
  57.  
  58.  
  59. Tab1.Name = "Guns"
  60. Tab1.Parent = Main
  61. Tab1.BackgroundColor3 = Color3.new(0.3, 0.6, 0.9)
  62. Tab1.Position = UDim2.new(0, 0, 0, 35)
  63. Tab1.Size = UDim2.new(0, 80, 0, 20)
  64. Tab1.Font = Enum.Font.Cartoon
  65. Tab1.FontSize = Enum.FontSize.Size14
  66. Tab1.Text = "Guns"
  67. Tab1.TextSize = 18
  68.  
  69. Tab2.Name = "Items"
  70. Tab2.Parent = Main
  71. Tab2.BackgroundColor3 = Color3.new(1, 0, 0)
  72. Tab2.Position = UDim2.new(0, 110, 0, 35)
  73. Tab2.Size = UDim2.new(0, 80, 0, 20)
  74. Tab2.Font = Enum.Font.Cartoon
  75. Tab2.FontSize = Enum.FontSize.Size14
  76. Tab2.Text = "Items"
  77. Tab2.TextSize = 16
  78.  
  79. Tab3.Name = "Stats"
  80. Tab3.Parent = Main
  81. Tab3.BackgroundColor3 = Color3.new(0.5, 0.8, 0.2)
  82. Tab3.Position = UDim2.new(0, 220, 0, 35)
  83. Tab3.Size = UDim2.new(0, 80, 0, 20)
  84. Tab3.Font = Enum.Font.Cartoon
  85. Tab3.FontSize = Enum.FontSize.Size14
  86. Tab3.Text = "Miscellaneous"
  87. Tab3.TextSize = 14
  88.  
  89. Kits.Name = "KitsTab"
  90. Kits.Parent = Main
  91. Kits.BackgroundColor3 = Color3.new(0, 0, 0)
  92. Kits.BorderColor3 = Color3.new(1, 1, 1)
  93. Kits.Position = place
  94. Kits.Size = size
  95. Kits.Visible = true
  96.  
  97. Item.Name = "ItemsTab"
  98. Item.Parent = Main
  99. Item.BackgroundColor3 = Color3.new(1, 1, 1)
  100. Item.BorderColor3 = Color3.new(0, 0, 0)
  101. Item.Position = place
  102. Item.Size = size
  103. Item.Visible = false
  104.  
  105. Stat.Name = "StatsTab"
  106. Stat.Parent = Main
  107. Stat.BackgroundColor3 = Color3.new(0, 1, 0)
  108. Stat.BorderColor3 = Color3.new(1, 0, 1)
  109. Stat.Position = place
  110. Stat.Size = size
  111. Stat.Visible = false
  112.  
  113. exit.Name = "Exit"
  114. exit.Parent = Main
  115. exit.BackgroundColor3 = Color3.new(0.5, 0, 0)
  116. exit.Position = UDim2.new(0, 280, 0, 0)
  117. exit.Size = UDim2.new(0, 20, 0, 20)
  118. exit.Font = Enum.Font.Cartoon
  119. exit.FontSize = Enum.FontSize.Size14
  120. exit.Text = "X"
  121. exit.TextSize = 18
  122.  
  123. minus.Name = "Minus"
  124. minus.Parent = Main
  125. minus.BackgroundColor3 = Color3.new(0.5, 0, 0)
  126. minus.Position = UDim2.new(0, 258, 0, 0)
  127. minus.Size = UDim2.new(0, 20, 0, 20)
  128. minus.Font = Enum.Font.Cartoon
  129. minus.FontSize = Enum.FontSize.Size14
  130. minus.Text = "-"
  131. minus.TextSize = 22
  132.  
  133.  
  134. -- Guns Tab Buttons--
  135. FlaKit = Instance.new("TextButton")
  136. PatriotKit = Instance.new("TextButton")
  137. BaseKit = Instance.new("TextButton")
  138. -- end --
  139.  
  140. -- Guns Tab Buttons Stuff --
  141. FalKit.Name = "FalKit"
  142. FalKit.Parent = Kits
  143. FalKit.BackgroundColor3 = Color3.new(0, 0, 1)
  144. FalKit.Position = UDim2.new(0, 2, 0, 2)
  145. FalKit.Size = UDim2.new(0, 60, 0, 20)
  146. FalKit.Font = Enum.Font.Cartoon
  147. FalKit.FontSize = Enum.FontSize.Size14
  148. FalKit.Text = "FalKit"
  149. FalKit.TextSize = 16
  150.  
  151. PatriotKit.Name = "PatriotKit"
  152. PatriotKit.Parent = Gun
  153. PatriotKit.BackgroundColor3 = Color3.new(0, 0, 1)
  154. PatriotKit.Position = UDim2.new(0, 72, 0, 2)
  155. PatriotKit.Size = UDim2.new(0, 60, 0, 20)
  156. PatriotKit.Font = Enum.Font.Cartoon
  157. PatriotKit.FontSize = Enum.FontSize.Size14
  158. PatriotKit.Text = "PatriotKit"
  159. PatriotKit.TextSize = 16
  160.  
  161. BaseKit.Name = "BaseKit"
  162. BaseKit.Parent = Gun
  163. BaseKit.BackgroundColor3 = Color3.new(0, 0, 1)
  164. BaseKit.Position = UDim2.new(0, 142, 0, 2)
  165. BaseKit.Size = UDim2.new(0, 60, 0, 20)
  166. BaseKit.Font = Enum.Font.Cartoon
  167. BaseKit.FontSize = Enum.FontSize.Size14
  168. BaseKit.Text = "BaseKit"
  169. BaseKit.TextSize = 16
  170.  
  171.  
  172. -- end --
  173.  
  174. -- Guns Tab Buttons Functions --
  175. FALKit.MouseButton1Down:connect(function()
  176. local c = FALKitButton:clone()
  177. if WhoToAffect.Value == "" then
  178. FALKitButton.Text = "Please select a player first."
  179. wait(2)
  180. FALKitButton.Text = c.Text
  181. c:remove() else
  182. local spawner = {"FAL","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","MilitaryPackBlack","Grip","ACOG","Suppressor556"}
  183. for i = 1, #spawner do
  184. tospawnval.Value = spawner[i]; spawnitem()
  185. wait()
  186. end
  187. end
  188. end)
  189.  
  190. PatriotKit.MouseButton1Down:connect(function()
  191. local c = FALKitButton:clone()
  192. if WhoToAffect.Value == "" then
  193. FALKitButton.Text = "Please select a player first."
  194. wait(2)
  195. FALKitButton.Text = c.Text
  196. c:remove() else
  197. local spawner = {"Patriot","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","MilitaryPackBlack","Grip","ACOG","Suppressor556"}
  198. for i = 1, #spawner do
  199. tospawnval.Value = spawner[i]; spawnitem()
  200. wait()
  201. end
  202. end
  203. end)
  204.  
  205. BaseKit.MouseButton1Down:connect(function()
  206. local c = BaseKitButton:clone()
  207. if WhoToAffect.Value == "" then
  208. BaseKitButton.Text = "Please select a player first."
  209. wait(2)
  210. BaseKitButton.Text = c.Text
  211. c:remove() else
  212. local spawner = {"Material5","Material5","Material5","Material3","Material4","LargeCrate","LargeCrate"}
  213. for i = 1, #spawner do
  214. tospawnval.Value = spawner[i]; spawnitem()
  215. wait()
  216. end
  217. end
  218. end)
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227. -- end --
  228.  
  229. -- Items Tab buttons --
  230. Starter = Instance.new("TextButton")
  231. Katana = Instance.new("TextButton")
  232. Entre = Instance.new("TextButton")
  233. Wood = Instance.new("TextButton")
  234. Stone = Instance.new("TextButton")
  235. Brick = Instance.new("TextButton")
  236. Wall = Instance.new("TextButton")
  237. Slab = Instance.new("TextButton")
  238. Plank = Instance.new("TextButton")--
  239. Trus = Instance.new("TextButton")--
  240. Flood = Instance.new("TextButton")
  241. Pack = Instance.new("TextButton")
  242.  
  243.  
  244. -- end --
  245.  
  246. -- buttons Stuff --
  247. Starter.Name = "Starter"
  248. Starter.Parent = Item
  249. Starter.BackgroundColor3 = Color3.new(1, 0, 0)
  250. Starter.Position = UDim2.new(0, 2, 0, 2)
  251. Starter.Size = UDim2.new(0, 60, 0, 20)
  252. Starter.Font = Enum.Font.Cartoon
  253. Starter.FontSize = Enum.FontSize.Size14
  254. Starter.Text = "Starter"
  255. Starter.TextSize = 16
  256.  
  257. Katana.Name = "Katana"
  258. Katana.Parent = Item
  259. Katana.BackgroundColor3 = Color3.new(1, 0, 0)
  260. Katana.Position = UDim2.new(0, 72, 0, 2)
  261. Katana.Size = UDim2.new(0, 60, 0, 20)
  262. Katana.Font = Enum.Font.Cartoon
  263. Katana.FontSize = Enum.FontSize.Size14
  264. Katana.Text = "Katana"
  265. Katana.TextSize = 16
  266.  
  267. Entre.Name = "Entre"
  268. Entre.Parent = Item
  269. Entre.BackgroundColor3 = Color3.new(1, 0, 0)
  270. Entre.Position = UDim2.new(0, 142, 0, 2)
  271. Entre.Size = UDim2.new(0, 60, 0, 20)
  272. Entre.Font = Enum.Font.Cartoon
  273. Entre.FontSize = Enum.FontSize.Size14
  274. Entre.Text = "Entrencher"
  275. Entre.TextSize = 12
  276.  
  277. Wood.Name = "Wood"
  278. Wood.Parent = Item
  279. Wood.BackgroundColor3 = Color3.new(1, 0, 0)
  280. Wood.Position = UDim2.new(0, 212, 0, 2)
  281. Wood.Size = UDim2.new(0, 60, 0, 20)
  282. Wood.Font = Enum.Font.Cartoon
  283. Wood.FontSize = Enum.FontSize.Size14
  284. Wood.Text = "Lumber"
  285. Wood.TextSize = 16
  286.  
  287. Stone.Name = "Stone"
  288. Stone.Parent = Item
  289. Stone.BackgroundColor3 = Color3.new(1, 0, 0)
  290. Stone.Position = UDim2.new(0, 2, 0, 32)
  291. Stone.Size = UDim2.new(0, 60, 0, 20)
  292. Stone.Font = Enum.Font.Cartoon
  293. Stone.FontSize = Enum.FontSize.Size14
  294. Stone.Text = "Stone Bricks"
  295. Stone.TextSize = 11
  296.  
  297. Brick.Name = "Brick"
  298. Brick.Parent = Item
  299. Brick.BackgroundColor3 = Color3.new(1, 0, 0)
  300. Brick.Position = UDim2.new(0, 72, 0, 32)
  301. Brick.Size = UDim2.new(0, 60, 0, 20)
  302. Brick.Font = Enum.Font.Cartoon
  303. Brick.FontSize = Enum.FontSize.Size14
  304. Brick.Text = "Bricks"
  305. Brick.TextSize = 16
  306.  
  307. Wall.Name = "Wall"
  308. Wall.Parent = Item
  309. Wall.BackgroundColor3 = Color3.new(1, 0, 0)
  310. Wall.Position = UDim2.new(0, 142, 0, 32)
  311. Wall.Size = UDim2.new(0, 60, 0, 20)
  312. Wall.Font = Enum.Font.Cartoon
  313. Wall.FontSize = Enum.FontSize.Size14
  314. Wall.Text = "Stone Walls"
  315. Wall.TextSize = 12
  316.  
  317. Slab.Name = "Slab"
  318. Slab.Parent = Item
  319. Slab.BackgroundColor3 = Color3.new(1, 0, 0)
  320. Slab.Position = UDim2.new(0, 212, 0, 32)
  321. Slab.Size = UDim2.new(0, 60, 0, 20)
  322. Slab.Font = Enum.Font.Cartoon
  323. Slab.FontSize = Enum.FontSize.Size14
  324. Slab.Text = "Wood Slabs"
  325. Slab.TextSize = 12
  326.  
  327. Plank.Name = "Plank"
  328. Plank.Parent = Item
  329. Plank.BackgroundColor3 = Color3.new(1, 0, 0)
  330. Plank.Position = UDim2.new(0, 2, 0, 62)
  331. Plank.Size = UDim2.new(0, 60, 0, 20)
  332. Plank.Font = Enum.Font.Cartoon
  333. Plank.FontSize = Enum.FontSize.Size14
  334. Plank.Text = "Planks"
  335. Plank.TextSize = 16
  336.  
  337. Trus.Name = "Trus"
  338. Trus.Parent = Item
  339. Trus.BackgroundColor3 = Color3.new(1, 0, 0)
  340. Trus.Position = UDim2.new(0, 72, 0, 62)
  341. Trus.Size = UDim2.new(0, 60, 0, 20)
  342. Trus.Font = Enum.Font.Cartoon
  343. Trus.FontSize = Enum.FontSize.Size14
  344. Trus.Text = "Truss"
  345. Trus.TextSize = 16
  346.  
  347. Flood.Name = "Flood"
  348. Flood.Parent = Item
  349. Flood.BackgroundColor3 = Color3.new(1, 0, 0)
  350. Flood.Position = UDim2.new(0, 142, 0, 62)
  351. Flood.Size = UDim2.new(0, 60, 0, 20)
  352. Flood.Font = Enum.Font.Cartoon
  353. Flood.FontSize = Enum.FontSize.Size14
  354. Flood.Text = "Floodlight"
  355. Flood.TextSize = 13
  356.  
  357. Pack.Name = "Pack"
  358. Pack.Parent = Item
  359. Pack.BackgroundColor3 = Color3.new(1, 0, 0)
  360. Pack.Position = UDim2.new(0, 212, 0, 62)
  361. Pack.Size = UDim2.new(0, 60, 0, 20)
  362. Pack.Font = Enum.Font.Cartoon
  363. Pack.FontSize = Enum.FontSize.Size14
  364. Pack.Text = "Military Pack"
  365. Pack.TextSize = 11
  366.  
  367.  
  368. -- end --
  369.  
  370. -- Items Buttons Fucntions --
  371. CGG.Main.ItemsTab.Starter.MouseButton1Down:connect(function()
  372. me = game.Players.LocalPlayer.Character.Head
  373. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  374. if u.Name == "Map" then
  375. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  376. end
  377. if u.Name == "GPS" then
  378. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  379. end
  380. if u.Name == "Compass" then
  381. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  382. end
  383. if u.Name == "Radio" then
  384. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  385. end
  386. end
  387. end)
  388.  
  389. CGG.Main.ItemsTab.Katana.MouseButton1Down:connect(function()
  390. me = game.Players.LocalPlayer.Character.Head
  391. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  392. if u.Name == "Katana" then
  393. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.Model.Head.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  394. end
  395. end
  396. end)
  397.  
  398. CGG.Main.ItemsTab.Entre.MouseButton1Down:connect(function()
  399. me = game.Players.LocalPlayer.Character.Head
  400. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  401. if u.Name == "Entrencher" then
  402. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  403. end
  404. end
  405. end)
  406.  
  407. CGG.Main.ItemsTab.Wood.MouseButton1Down:connect(function()
  408. me = game.Players.LocalPlayer.Character.Head
  409. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  410. if u.Name == "Material4" then
  411. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  412. end
  413. end
  414. end)
  415.  
  416. CGG.Main.ItemsTab.Stone.MouseButton1Down:connect(function()
  417. me = game.Players.LocalPlayer.Character.Head
  418. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  419. if u.Name == "Material3" then
  420. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  421. end
  422. end
  423. end)
  424.  
  425. CGG.Main.ItemsTab.Brick.MouseButton1Down:connect(function()
  426. me = game.Players.LocalPlayer.Character.Head
  427. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  428. if u.Name == "Material2" then
  429. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  430. end
  431. end
  432. end)
  433.  
  434. CGG.Main.ItemsTab.Wall.MouseButton1Down:connect(function()
  435. me = game.Players.LocalPlayer.Character.Head
  436. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  437. if u.Name == "Material5" then
  438. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  439. end
  440. end
  441. end)
  442.  
  443. CGG.Main.ItemsTab.Slab.MouseButton1Down:connect(function()
  444. me = game.Players.LocalPlayer.Character.Head
  445. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  446. if u.Name == "Material1" then
  447. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  448. end
  449. end
  450. end)
  451.  
  452. CGG.Main.ItemsTab.Plank.MouseButton1Down:connect(function()
  453. me = game.Players.LocalPlayer.Character.Head
  454. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  455. if u.Name == "Material6" then
  456. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  457. end
  458. end
  459. end)
  460.  
  461. CGG.Main.ItemsTab.Trus.MouseButton1Down:connect(function()
  462. me = game.Players.LocalPlayer.Character.Head
  463. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  464. if u.Name == "Material7" then
  465. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  466. end
  467. end
  468.  
  469. end)
  470.  
  471. CGG.Main.ItemsTab.Flood.MouseButton1Down:connect(function()
  472. me = game.Players.LocalPlayer.Character.Head
  473. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  474. if u.Name == "Floodlight" then
  475. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  476. end
  477. end
  478. end)
  479.  
  480. CGG.Main.ItemsTab.Pack.MouseButton1Down:connect(function()
  481. me = game.Players.LocalPlayer.Character.Head
  482. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  483. if string.sub(u.Name, 1, 12) == "MilitaryPack" then
  484. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - u.PrimaryPart.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  485. end
  486. end
  487. end)
  488.  
  489.  
  490.  
  491.  
  492. -- end --
  493.  
  494. -- Stats Buttons --
  495. inf = Instance.new("TextButton")
  496. kill = Instance.new("TextButton")
  497. onekill = Instance.new("TextButton")
  498. player = Instance.new("TextBox")
  499. Zom = Instance.new("TextButton")
  500. Lag = Instance.new("TextButton")
  501. Chat = Instance.new("TextButton")
  502. CText = Instance.new("TextBox")
  503. CColor = Instance.new("TextBox")
  504. printname = Instance.new("TextButton")
  505. bringst = Instance.new("TextButton")
  506. itemtobr = Instance.new("TextBox")
  507.  
  508. -- end --
  509.  
  510.  
  511. -- Stats Buttons Stuff --
  512. inf.Name = "Infinit"
  513. inf.Parent = Stat
  514. inf.BackgroundColor3 = Color3.new(0, 1, 1)
  515. inf.Position = UDim2.new(0, 2, 0, 2)
  516. inf.Size = UDim2.new(0, 60, 0, 20)
  517. inf.Font = Enum.Font.Cartoon
  518. inf.FontSize = Enum.FontSize.Size14
  519. inf.Text = "Demi God"
  520. inf.TextSize = 15
  521.  
  522. kill.Name = "Kill"
  523. kill.Parent = Stat
  524. kill.BackgroundColor3 = Color3.new(0, 1, 1)
  525. kill.Position = UDim2.new(0, 72, 0, 2)
  526. kill.Size = UDim2.new(0, 60, 0, 20)
  527. kill.Font = Enum.Font.Cartoon
  528. kill.FontSize = Enum.FontSize.Size14
  529. kill.Text = "Mine All"
  530. kill.TextSize = 16
  531.  
  532. onekill.Name = "ONE"
  533. onekill.Parent = Stat
  534. onekill.BackgroundColor3 = Color3.new(0, 1, 1)
  535. onekill.Position = UDim2.new(0, 142, 0, 2)
  536. onekill.Size = UDim2.new(0, 60, 0, 20)
  537. onekill.Font = Enum.Font.Cartoon
  538. onekill.FontSize = Enum.FontSize.Size14
  539. onekill.Text = "Kill Player"
  540. onekill.TextSize = 15
  541.  
  542. player.Name = "Name"
  543. player.Parent = Stat
  544. player.BackgroundColor3 = Color3.new(0, 1, 1)
  545. player.Position = UDim2.new(0, 212, 0, 2)
  546. player.Size = UDim2.new(0, 60, 0, 20)
  547. player.Font = Enum.Font.Cartoon
  548. player.FontSize = Enum.FontSize.Size14
  549. player.Text = "Players Name"
  550. player.TextSize = 11
  551.  
  552. Zom.Name = "Zom"
  553. Zom.Parent = Stat
  554. Zom.BackgroundColor3 = Color3.new(0, 1, 1)
  555. Zom.Position = UDim2.new(0, 2, 0, 32)
  556. Zom.Size = UDim2.new(0, 60, 0, 20)
  557. Zom.Font = Enum.Font.Cartoon
  558. Zom.FontSize = Enum.FontSize.Size14
  559. Zom.Text = "Kill Zombies"
  560. Zom.TextSize = 12
  561.  
  562. Lag.Name = "Lag"
  563. Lag.Parent = Stat
  564. Lag.BackgroundColor3 = Color3.new(0, 1, 1)
  565. Lag.Position = UDim2.new(0, 72, 0, 32)
  566. Lag.Size = UDim2.new(0, 60, 0, 20)
  567. Lag.Font = Enum.Font.Cartoon
  568. Lag.FontSize = Enum.FontSize.Size14
  569. Lag.Text = "Vacuum"
  570. Lag.TextSize = 16
  571.  
  572. Chat.Name = "Chat"
  573. Chat.Parent = Stat
  574. Chat.BackgroundColor3 = Color3.new(0, 1, 1)
  575. Chat.Position = UDim2.new(0, 142, 0, 32)
  576. Chat.Size = UDim2.new(0, 60, 0, 20)
  577. Chat.Font = Enum.Font.Cartoon
  578. Chat.FontSize = Enum.FontSize.Size14
  579. Chat.Text = "Enter"
  580. Chat.TextSize = 16
  581.  
  582. CText.Name = "CText"
  583. CText.Parent = Stat
  584. CText.BackgroundColor3 = Color3.new(0, 1, 1)
  585. CText.Position = UDim2.new(0, 212, 0, 32)
  586. CText.Size = UDim2.new(0, 60, 0, 20)
  587. CText.Font = Enum.Font.Cartoon
  588. CText.FontSize = Enum.FontSize.Size14
  589. CText.Text = "Text"
  590. CText.TextSize = 16
  591.  
  592. printname.Name = "print"
  593. printname.Parent = Stat
  594. printname.BackgroundColor3 = Color3.new(0, 1, 1)
  595. printname.Position = UDim2.new(0, 2, 0, 62)
  596. printname.Size = UDim2.new(0, 60, 0, 20)
  597. printname.Font = Enum.Font.Cartoon
  598. printname.FontSize = Enum.FontSize.Size14
  599. printname.Text = "Print Items"
  600. printname.TextSize = 12
  601.  
  602. bringst.Name = "brin"
  603. bringst.Parent = Stat
  604. bringst.BackgroundColor3 = Color3.new(0, 1, 1)
  605. bringst.Position = UDim2.new(0, 72, 0, 62)
  606. bringst.Size = UDim2.new(0, 60, 0, 20)
  607. bringst.Font = Enum.Font.Cartoon
  608. bringst.FontSize = Enum.FontSize.Size14
  609. bringst.Text = "Spawn Item"
  610. bringst.TextSize = 12
  611.  
  612. itemtobr.Name = "itn"
  613. itemtobr.Parent = Stat
  614. itemtobr.BackgroundColor3 = Color3.new(0, 1, 1)
  615. itemtobr.Position = UDim2.new(0, 142, 0, 62)
  616. itemtobr.Size = UDim2.new(0, 60, 0, 20)
  617. itemtobr.Font = Enum.Font.Cartoon
  618. itemtobr.FontSize = Enum.FontSize.Size14
  619. itemtobr.Text = "Item Name"
  620. itemtobr.TextSize = 12
  621.  
  622. CColor.Name = "CColor"
  623. CColor.Parent = Stat
  624. CColor.BackgroundColor3 = Color3.new(0, 1, 1)
  625. CColor.Position = UDim2.new(0, 212, 0, 62)
  626. CColor.Size = UDim2.new(0, 60, 0, 20)
  627. CColor.Font = Enum.Font.Cartoon
  628. CColor.FontSize = Enum.FontSize.Size14
  629. CColor.Text = "Color"
  630. CColor.TextSize = 16
  631.  
  632. -- end --
  633.  
  634. -- Stats Buttons Function --
  635. CGG.Main.StatsTab.Infinit.MouseButton1Down:connect(function()
  636. a = game.Players.LocalPlayer.playerstats
  637. a.Hunger.Value = 100000
  638. a.Hunger.RobloxLocked = true
  639. a.Thirst.Value = 100000
  640. a.Thirst.RobloxLocked = true
  641. game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid, -99999)
  642. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
  643. game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid, -99999)
  644. end)
  645. end)
  646.  
  647. CGG.Main.StatsTab.Kill.MouseButton1Down:connect(function()
  648. for i, v in pairs(game.Players:GetPlayers()) do
  649. abc = v.Character
  650. for a, b in pairs(abc:GetChildren()) do
  651. if b.Name == "Head" then
  652. place = (b.Position - Vector3.new(0,3,12))
  653. game.Workspace.Remote.PlaceMaterial:FireServer(game.Lighting.Materials.VS50Placed, place, true)
  654. end
  655. end
  656. end
  657. end)
  658.  
  659. CGG.Main.StatsTab.ONE.MouseButton1Down:connect(function()
  660. for i, v in pairs(game.Players:GetChildren()) do
  661. if v.Name == player.Text then
  662. mhm = v.Character
  663. place = (mhm.Head.Position - Vector3.new(0,3,12))
  664. game.Workspace.Remote.PlaceMaterial:FireServer(game.Lighting.Materials.VS50Placed, place, true)
  665. end
  666. end
  667. end)
  668.  
  669. CGG.Main.StatsTab.Zom.MouseButton1Down:connect(function()
  670. for i, v in pairs(game.Workspace.Zombies:GetChildren()) do
  671. for a, b in pairs(v:GetChildren()) do
  672. if b.Name == "Zombie" then
  673. for c, d in pairs(b:GetChildren()) do
  674. if d.Name == "Humanoid" then
  675. game.Workspace.Remote.DamageZombie:FireServer(d, 1000)
  676. end
  677. end
  678. end
  679. end
  680. end
  681. end)
  682.  
  683. CGG.Main.StatsTab.Lag.MouseButton1Down:connect(function()
  684. for i, g in pairs (game.Players:GetPlayers()) do
  685. workspace.Remote.SendMessage:FireServer(g, "Red", "Warning!! Major Server Lag!!!!")
  686. end
  687. wait(1)
  688. for i = 1, 120 do
  689. for i, v in pairs(game.Workspace.Zombies:GetChildren()) do
  690. for a, b in pairs(v:GetChildren()) do
  691. if b.Name == "Zombie" then
  692. for c, d in pairs(b:GetChildren()) do
  693. if d.Name == "Head" then
  694. mhm = d
  695. place = (mhm.Position - Vector3.new(0,3,12))
  696. game.Workspace.Remote.PlaceMaterial:FireServer(game.Lighting.Materials.VS50Placed, place, true)
  697. end
  698. end
  699. end
  700. end
  701. end
  702. end
  703. end)
  704.  
  705. CGG.Main.StatsTab.Chat.MouseButton1Down:connect(function()
  706. color = CColor.Text
  707. if color == "Color" then
  708. chatcolor = "Red"
  709. else
  710. chatcolor = color
  711. end
  712. for i, g in pairs (game.Players:GetPlayers()) do
  713. workspace.Remote.SendMessage:FireServer(g, chatcolor, CText.Text)
  714. end
  715. end)
  716.  
  717. CGG.Main.StatsTab.print.MouseButton1Down:connect(function()
  718. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  719. print(u.Name)
  720. print(" ")
  721. end
  722. end)
  723.  
  724. CGG.Main.StatsTab.brin.MouseButton1Down:connect(function()
  725. thing = itemtobr
  726. me = game.Players.LocalPlayer.Character.Head
  727. for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
  728. if u.Name == thing.Text then
  729. for i, v in pairs(u:GetChildren()) do
  730. if v:IsA("Model") then
  731. game.Workspace.Remote.PlaceMaterial:FireServer(u, game.Players.LocalPlayer.Character.Torso.Position - v.Head.Position + Vector3.new(math.random(1,10),1,math.random(1,10)))
  732. end
  733. end
  734. end
  735. end
  736. end)
  737.  
  738.  
  739. -- end --
  740.  
  741.  
  742. -- button function --
  743. CGG.Main.Guns.MouseButton1Down:connect(function()
  744. CGG.Main.GunsTab.Visible = true
  745. CGG.Main.ItemsTab.Visible = false
  746. CGG.Main.StatsTab.Visible = false
  747.  
  748. end)
  749.  
  750. CGG.Main.Items.MouseButton1Down:connect(function()
  751. CGG.Main.GunsTab.Visible = false
  752. CGG.Main.ItemsTab.Visible = true
  753. CGG.Main.StatsTab.Visible = false
  754. end)
  755.  
  756. CGG.Main.Stats.MouseButton1Down:connect(function()
  757. CGG.Main.GunsTab.Visible = false
  758. CGG.Main.ItemsTab.Visible = false
  759. CGG.Main.StatsTab.Visible = true
  760. end)
  761.  
  762. CGG.Main.Exit.MouseButton1Down:connect(function()
  763. CGG:remove()
  764. end)
  765.  
  766. CGG.Main.Minus.MouseButton1Down:connect(function()
  767. CGG.Main.Visible = false
  768. CGG.Open.Visible = true
  769. end)
  770.  
  771. CGG.Open.MouseButton1Down:connect(function()
  772. CGG.Main.Visible = true
  773. CGG.Open.Visible = false
  774. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement