Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Apoc Gui Revamped By Kilas
- local Text = Instance.new("TextLabel")
- local Main = Instance.new("Frame")
- local CF = Instance.new("ScreenGui")
- local CG69 = game.CoreGui
- local Tab1 = Instance.new("TextButton")
- local Tab2 = Instance.new("TextButton")
- local Tab3 = Instance.new("TextButton")
- local Kits = Instance.new("Frame")
- local Item = Instance.new("Frame")
- local Stat = Instance.new("Frame")
- local exit = Instance.new("TextButton")
- local minus = Instance.new("TextButton")
- local open = Instance.new("TextButton")
- local place = UDim2.new(0, 0, 0, 70)
- local size = UDim2.new(0, 300, 0, 120)
- CF.Name = "APOC"
- CF.Parent = CG69
- local CGG = CG69["APOC"]
- open.Name = "Open"
- open.Parent = CF
- open.BackgroundColor3 = Color3.new(0.3, 0.6, 0.9)
- open.Position = UDim2.new(0, 0, 0.4, 0)
- open.Size = UDim2.new(0, 70, 0, 30)
- open.Font = Enum.Font.Cartoon
- open.FontSize = Enum.FontSize.Size14
- open.Text = "Open"
- open.TextSize = 18
- open.Visible = false
- Main.Name = "Main"
- Main.Parent = CF
- Main.BackgroundColor3 = Color3.new(0.1, 0.6, 0.3)
- Main.BorderColor3 = Color3.new(0, 0, 0)
- Main.Position = UDim2.new(0, 500, 0, 500)
- Main.Size = UDim2.new(0, 300, 0, 75)
- Main.Visible = true
- Main.Draggable = true
- Main.Active = true
- Text.Name = "Text"
- Text.Parent = Main
- Text.BackgroundColor3 = Color3.new(1, 1, 1)
- Text.BackgroundTransparency = 1
- Text.Position = UDim2.new(0.45, 0, 0, 0)
- Text.Size = UDim2.new(0, 20, 0, 35)
- Text.Font = Enum.Font.SourceSansBold
- Text.FontSize = Enum.FontSize.Size18
- Text.Text = "Apocalypse GUI"
- Text.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
- Text.TextSize = 18
- Tab1.Name = "Guns"
- Tab1.Parent = Main
- Tab1.BackgroundColor3 = Color3.new(0.3, 0.6, 0.9)
- Tab1.Position = UDim2.new(0, 0, 0, 35)
- Tab1.Size = UDim2.new(0, 80, 0, 20)
- Tab1.Font = Enum.Font.Cartoon
- Tab1.FontSize = Enum.FontSize.Size14
- Tab1.Text = "Guns"
- Tab1.TextSize = 18
- Tab2.Name = "Items"
- Tab2.Parent = Main
- Tab2.BackgroundColor3 = Color3.new(1, 0, 0)
- Tab2.Position = UDim2.new(0, 110, 0, 35)
- Tab2.Size = UDim2.new(0, 80, 0, 20)
- Tab2.Font = Enum.Font.Cartoon
- Tab2.FontSize = Enum.FontSize.Size14
- Tab2.Text = "Items"
- Tab2.TextSize = 16
- Tab3.Name = "Stats"
- Tab3.Parent = Main
- Tab3.BackgroundColor3 = Color3.new(0.5, 0.8, 0.2)
- Tab3.Position = UDim2.new(0, 220, 0, 35)
- Tab3.Size = UDim2.new(0, 80, 0, 20)
- Tab3.Font = Enum.Font.Cartoon
- Tab3.FontSize = Enum.FontSize.Size14
- Tab3.Text = "Miscellaneous"
- Tab3.TextSize = 14
- Kits.Name = "KitsTab"
- Kits.Parent = Main
- Kits.BackgroundColor3 = Color3.new(0, 0, 0)
- Kits.BorderColor3 = Color3.new(1, 1, 1)
- Kits.Position = place
- Kits.Size = size
- Kits.Visible = true
- Item.Name = "ItemsTab"
- Item.Parent = Main
- Item.BackgroundColor3 = Color3.new(1, 1, 1)
- Item.BorderColor3 = Color3.new(0, 0, 0)
- Item.Position = place
- Item.Size = size
- Item.Visible = false
- Stat.Name = "StatsTab"
- Stat.Parent = Main
- Stat.BackgroundColor3 = Color3.new(0, 1, 0)
- Stat.BorderColor3 = Color3.new(1, 0, 1)
- Stat.Position = place
- Stat.Size = size
- Stat.Visible = false
- exit.Name = "Exit"
- exit.Parent = Main
- exit.BackgroundColor3 = Color3.new(0.5, 0, 0)
- exit.Position = UDim2.new(0, 280, 0, 0)
- exit.Size = UDim2.new(0, 20, 0, 20)
- exit.Font = Enum.Font.Cartoon
- exit.FontSize = Enum.FontSize.Size14
- exit.Text = "X"
- exit.TextSize = 18
- minus.Name = "Minus"
- minus.Parent = Main
- minus.BackgroundColor3 = Color3.new(0.5, 0, 0)
- minus.Position = UDim2.new(0, 258, 0, 0)
- minus.Size = UDim2.new(0, 20, 0, 20)
- minus.Font = Enum.Font.Cartoon
- minus.FontSize = Enum.FontSize.Size14
- minus.Text = "-"
- minus.TextSize = 22
- -- Guns Tab Buttons--
- FlaKit = Instance.new("TextButton")
- PatriotKit = Instance.new("TextButton")
- BaseKit = Instance.new("TextButton")
- -- end --
- -- Guns Tab Buttons Stuff --
- FalKit.Name = "FalKit"
- FalKit.Parent = Kits
- FalKit.BackgroundColor3 = Color3.new(0, 0, 1)
- FalKit.Position = UDim2.new(0, 2, 0, 2)
- FalKit.Size = UDim2.new(0, 60, 0, 20)
- FalKit.Font = Enum.Font.Cartoon
- FalKit.FontSize = Enum.FontSize.Size14
- FalKit.Text = "FalKit"
- FalKit.TextSize = 16
- PatriotKit.Name = "PatriotKit"
- PatriotKit.Parent = Gun
- PatriotKit.BackgroundColor3 = Color3.new(0, 0, 1)
- PatriotKit.Position = UDim2.new(0, 72, 0, 2)
- PatriotKit.Size = UDim2.new(0, 60, 0, 20)
- PatriotKit.Font = Enum.Font.Cartoon
- PatriotKit.FontSize = Enum.FontSize.Size14
- PatriotKit.Text = "PatriotKit"
- PatriotKit.TextSize = 16
- BaseKit.Name = "BaseKit"
- BaseKit.Parent = Gun
- BaseKit.BackgroundColor3 = Color3.new(0, 0, 1)
- BaseKit.Position = UDim2.new(0, 142, 0, 2)
- BaseKit.Size = UDim2.new(0, 60, 0, 20)
- BaseKit.Font = Enum.Font.Cartoon
- BaseKit.FontSize = Enum.FontSize.Size14
- BaseKit.Text = "BaseKit"
- BaseKit.TextSize = 16
- -- end --
- -- Guns Tab Buttons Functions --
- FALKit.MouseButton1Down:connect(function()
- local c = FALKitButton:clone()
- if WhoToAffect.Value == "" then
- FALKitButton.Text = "Please select a player first."
- wait(2)
- FALKitButton.Text = c.Text
- c:remove() else
- local spawner = {"FAL","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","MilitaryPackBlack","Grip","ACOG","Suppressor556"}
- for i = 1, #spawner do
- tospawnval.Value = spawner[i]; spawnitem()
- wait()
- end
- end
- end)
- PatriotKit.MouseButton1Down:connect(function()
- local c = FALKitButton:clone()
- if WhoToAffect.Value == "" then
- FALKitButton.Text = "Please select a player first."
- wait(2)
- FALKitButton.Text = c.Text
- c:remove() else
- local spawner = {"Patriot","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","MilitaryPackBlack","Grip","ACOG","Suppressor556"}
- for i = 1, #spawner do
- tospawnval.Value = spawner[i]; spawnitem()
- wait()
- end
- end
- end)
- BaseKit.MouseButton1Down:connect(function()
- local c = BaseKitButton:clone()
- if WhoToAffect.Value == "" then
- BaseKitButton.Text = "Please select a player first."
- wait(2)
- BaseKitButton.Text = c.Text
- c:remove() else
- local spawner = {"Material5","Material5","Material5","Material3","Material4","LargeCrate","LargeCrate"}
- for i = 1, #spawner do
- tospawnval.Value = spawner[i]; spawnitem()
- wait()
- end
- end
- end)
- -- end --
- -- Items Tab buttons --
- Starter = Instance.new("TextButton")
- Katana = Instance.new("TextButton")
- Entre = Instance.new("TextButton")
- Wood = Instance.new("TextButton")
- Stone = Instance.new("TextButton")
- Brick = Instance.new("TextButton")
- Wall = Instance.new("TextButton")
- Slab = Instance.new("TextButton")
- Plank = Instance.new("TextButton")--
- Trus = Instance.new("TextButton")--
- Flood = Instance.new("TextButton")
- Pack = Instance.new("TextButton")
- -- end --
- -- buttons Stuff --
- Starter.Name = "Starter"
- Starter.Parent = Item
- Starter.BackgroundColor3 = Color3.new(1, 0, 0)
- Starter.Position = UDim2.new(0, 2, 0, 2)
- Starter.Size = UDim2.new(0, 60, 0, 20)
- Starter.Font = Enum.Font.Cartoon
- Starter.FontSize = Enum.FontSize.Size14
- Starter.Text = "Starter"
- Starter.TextSize = 16
- Katana.Name = "Katana"
- Katana.Parent = Item
- Katana.BackgroundColor3 = Color3.new(1, 0, 0)
- Katana.Position = UDim2.new(0, 72, 0, 2)
- Katana.Size = UDim2.new(0, 60, 0, 20)
- Katana.Font = Enum.Font.Cartoon
- Katana.FontSize = Enum.FontSize.Size14
- Katana.Text = "Katana"
- Katana.TextSize = 16
- Entre.Name = "Entre"
- Entre.Parent = Item
- Entre.BackgroundColor3 = Color3.new(1, 0, 0)
- Entre.Position = UDim2.new(0, 142, 0, 2)
- Entre.Size = UDim2.new(0, 60, 0, 20)
- Entre.Font = Enum.Font.Cartoon
- Entre.FontSize = Enum.FontSize.Size14
- Entre.Text = "Entrencher"
- Entre.TextSize = 12
- Wood.Name = "Wood"
- Wood.Parent = Item
- Wood.BackgroundColor3 = Color3.new(1, 0, 0)
- Wood.Position = UDim2.new(0, 212, 0, 2)
- Wood.Size = UDim2.new(0, 60, 0, 20)
- Wood.Font = Enum.Font.Cartoon
- Wood.FontSize = Enum.FontSize.Size14
- Wood.Text = "Lumber"
- Wood.TextSize = 16
- Stone.Name = "Stone"
- Stone.Parent = Item
- Stone.BackgroundColor3 = Color3.new(1, 0, 0)
- Stone.Position = UDim2.new(0, 2, 0, 32)
- Stone.Size = UDim2.new(0, 60, 0, 20)
- Stone.Font = Enum.Font.Cartoon
- Stone.FontSize = Enum.FontSize.Size14
- Stone.Text = "Stone Bricks"
- Stone.TextSize = 11
- Brick.Name = "Brick"
- Brick.Parent = Item
- Brick.BackgroundColor3 = Color3.new(1, 0, 0)
- Brick.Position = UDim2.new(0, 72, 0, 32)
- Brick.Size = UDim2.new(0, 60, 0, 20)
- Brick.Font = Enum.Font.Cartoon
- Brick.FontSize = Enum.FontSize.Size14
- Brick.Text = "Bricks"
- Brick.TextSize = 16
- Wall.Name = "Wall"
- Wall.Parent = Item
- Wall.BackgroundColor3 = Color3.new(1, 0, 0)
- Wall.Position = UDim2.new(0, 142, 0, 32)
- Wall.Size = UDim2.new(0, 60, 0, 20)
- Wall.Font = Enum.Font.Cartoon
- Wall.FontSize = Enum.FontSize.Size14
- Wall.Text = "Stone Walls"
- Wall.TextSize = 12
- Slab.Name = "Slab"
- Slab.Parent = Item
- Slab.BackgroundColor3 = Color3.new(1, 0, 0)
- Slab.Position = UDim2.new(0, 212, 0, 32)
- Slab.Size = UDim2.new(0, 60, 0, 20)
- Slab.Font = Enum.Font.Cartoon
- Slab.FontSize = Enum.FontSize.Size14
- Slab.Text = "Wood Slabs"
- Slab.TextSize = 12
- Plank.Name = "Plank"
- Plank.Parent = Item
- Plank.BackgroundColor3 = Color3.new(1, 0, 0)
- Plank.Position = UDim2.new(0, 2, 0, 62)
- Plank.Size = UDim2.new(0, 60, 0, 20)
- Plank.Font = Enum.Font.Cartoon
- Plank.FontSize = Enum.FontSize.Size14
- Plank.Text = "Planks"
- Plank.TextSize = 16
- Trus.Name = "Trus"
- Trus.Parent = Item
- Trus.BackgroundColor3 = Color3.new(1, 0, 0)
- Trus.Position = UDim2.new(0, 72, 0, 62)
- Trus.Size = UDim2.new(0, 60, 0, 20)
- Trus.Font = Enum.Font.Cartoon
- Trus.FontSize = Enum.FontSize.Size14
- Trus.Text = "Truss"
- Trus.TextSize = 16
- Flood.Name = "Flood"
- Flood.Parent = Item
- Flood.BackgroundColor3 = Color3.new(1, 0, 0)
- Flood.Position = UDim2.new(0, 142, 0, 62)
- Flood.Size = UDim2.new(0, 60, 0, 20)
- Flood.Font = Enum.Font.Cartoon
- Flood.FontSize = Enum.FontSize.Size14
- Flood.Text = "Floodlight"
- Flood.TextSize = 13
- Pack.Name = "Pack"
- Pack.Parent = Item
- Pack.BackgroundColor3 = Color3.new(1, 0, 0)
- Pack.Position = UDim2.new(0, 212, 0, 62)
- Pack.Size = UDim2.new(0, 60, 0, 20)
- Pack.Font = Enum.Font.Cartoon
- Pack.FontSize = Enum.FontSize.Size14
- Pack.Text = "Military Pack"
- Pack.TextSize = 11
- -- end --
- -- Items Buttons Fucntions --
- CGG.Main.ItemsTab.Starter.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Map" then
- 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)))
- end
- if u.Name == "GPS" then
- 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)))
- end
- if u.Name == "Compass" then
- 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)))
- end
- if u.Name == "Radio" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Katana.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Katana" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Entre.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Entrencher" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Wood.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material4" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Stone.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material3" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Brick.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material2" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Wall.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material5" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Slab.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material1" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Plank.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material6" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Trus.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Material7" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Flood.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == "Floodlight" then
- 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)))
- end
- end
- end)
- CGG.Main.ItemsTab.Pack.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if string.sub(u.Name, 1, 12) == "MilitaryPack" then
- 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)))
- end
- end
- end)
- -- end --
- -- Stats Buttons --
- inf = Instance.new("TextButton")
- kill = Instance.new("TextButton")
- onekill = Instance.new("TextButton")
- player = Instance.new("TextBox")
- Zom = Instance.new("TextButton")
- Lag = Instance.new("TextButton")
- Chat = Instance.new("TextButton")
- CText = Instance.new("TextBox")
- CColor = Instance.new("TextBox")
- printname = Instance.new("TextButton")
- bringst = Instance.new("TextButton")
- itemtobr = Instance.new("TextBox")
- -- end --
- -- Stats Buttons Stuff --
- inf.Name = "Infinit"
- inf.Parent = Stat
- inf.BackgroundColor3 = Color3.new(0, 1, 1)
- inf.Position = UDim2.new(0, 2, 0, 2)
- inf.Size = UDim2.new(0, 60, 0, 20)
- inf.Font = Enum.Font.Cartoon
- inf.FontSize = Enum.FontSize.Size14
- inf.Text = "Demi God"
- inf.TextSize = 15
- kill.Name = "Kill"
- kill.Parent = Stat
- kill.BackgroundColor3 = Color3.new(0, 1, 1)
- kill.Position = UDim2.new(0, 72, 0, 2)
- kill.Size = UDim2.new(0, 60, 0, 20)
- kill.Font = Enum.Font.Cartoon
- kill.FontSize = Enum.FontSize.Size14
- kill.Text = "Mine All"
- kill.TextSize = 16
- onekill.Name = "ONE"
- onekill.Parent = Stat
- onekill.BackgroundColor3 = Color3.new(0, 1, 1)
- onekill.Position = UDim2.new(0, 142, 0, 2)
- onekill.Size = UDim2.new(0, 60, 0, 20)
- onekill.Font = Enum.Font.Cartoon
- onekill.FontSize = Enum.FontSize.Size14
- onekill.Text = "Kill Player"
- onekill.TextSize = 15
- player.Name = "Name"
- player.Parent = Stat
- player.BackgroundColor3 = Color3.new(0, 1, 1)
- player.Position = UDim2.new(0, 212, 0, 2)
- player.Size = UDim2.new(0, 60, 0, 20)
- player.Font = Enum.Font.Cartoon
- player.FontSize = Enum.FontSize.Size14
- player.Text = "Players Name"
- player.TextSize = 11
- Zom.Name = "Zom"
- Zom.Parent = Stat
- Zom.BackgroundColor3 = Color3.new(0, 1, 1)
- Zom.Position = UDim2.new(0, 2, 0, 32)
- Zom.Size = UDim2.new(0, 60, 0, 20)
- Zom.Font = Enum.Font.Cartoon
- Zom.FontSize = Enum.FontSize.Size14
- Zom.Text = "Kill Zombies"
- Zom.TextSize = 12
- Lag.Name = "Lag"
- Lag.Parent = Stat
- Lag.BackgroundColor3 = Color3.new(0, 1, 1)
- Lag.Position = UDim2.new(0, 72, 0, 32)
- Lag.Size = UDim2.new(0, 60, 0, 20)
- Lag.Font = Enum.Font.Cartoon
- Lag.FontSize = Enum.FontSize.Size14
- Lag.Text = "Vacuum"
- Lag.TextSize = 16
- Chat.Name = "Chat"
- Chat.Parent = Stat
- Chat.BackgroundColor3 = Color3.new(0, 1, 1)
- Chat.Position = UDim2.new(0, 142, 0, 32)
- Chat.Size = UDim2.new(0, 60, 0, 20)
- Chat.Font = Enum.Font.Cartoon
- Chat.FontSize = Enum.FontSize.Size14
- Chat.Text = "Enter"
- Chat.TextSize = 16
- CText.Name = "CText"
- CText.Parent = Stat
- CText.BackgroundColor3 = Color3.new(0, 1, 1)
- CText.Position = UDim2.new(0, 212, 0, 32)
- CText.Size = UDim2.new(0, 60, 0, 20)
- CText.Font = Enum.Font.Cartoon
- CText.FontSize = Enum.FontSize.Size14
- CText.Text = "Text"
- CText.TextSize = 16
- printname.Name = "print"
- printname.Parent = Stat
- printname.BackgroundColor3 = Color3.new(0, 1, 1)
- printname.Position = UDim2.new(0, 2, 0, 62)
- printname.Size = UDim2.new(0, 60, 0, 20)
- printname.Font = Enum.Font.Cartoon
- printname.FontSize = Enum.FontSize.Size14
- printname.Text = "Print Items"
- printname.TextSize = 12
- bringst.Name = "brin"
- bringst.Parent = Stat
- bringst.BackgroundColor3 = Color3.new(0, 1, 1)
- bringst.Position = UDim2.new(0, 72, 0, 62)
- bringst.Size = UDim2.new(0, 60, 0, 20)
- bringst.Font = Enum.Font.Cartoon
- bringst.FontSize = Enum.FontSize.Size14
- bringst.Text = "Spawn Item"
- bringst.TextSize = 12
- itemtobr.Name = "itn"
- itemtobr.Parent = Stat
- itemtobr.BackgroundColor3 = Color3.new(0, 1, 1)
- itemtobr.Position = UDim2.new(0, 142, 0, 62)
- itemtobr.Size = UDim2.new(0, 60, 0, 20)
- itemtobr.Font = Enum.Font.Cartoon
- itemtobr.FontSize = Enum.FontSize.Size14
- itemtobr.Text = "Item Name"
- itemtobr.TextSize = 12
- CColor.Name = "CColor"
- CColor.Parent = Stat
- CColor.BackgroundColor3 = Color3.new(0, 1, 1)
- CColor.Position = UDim2.new(0, 212, 0, 62)
- CColor.Size = UDim2.new(0, 60, 0, 20)
- CColor.Font = Enum.Font.Cartoon
- CColor.FontSize = Enum.FontSize.Size14
- CColor.Text = "Color"
- CColor.TextSize = 16
- -- end --
- -- Stats Buttons Function --
- CGG.Main.StatsTab.Infinit.MouseButton1Down:connect(function()
- a = game.Players.LocalPlayer.playerstats
- a.Hunger.Value = 100000
- a.Hunger.RobloxLocked = true
- a.Thirst.Value = 100000
- a.Thirst.RobloxLocked = true
- game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid, -99999)
- game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
- game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid, -99999)
- end)
- end)
- CGG.Main.StatsTab.Kill.MouseButton1Down:connect(function()
- for i, v in pairs(game.Players:GetPlayers()) do
- abc = v.Character
- for a, b in pairs(abc:GetChildren()) do
- if b.Name == "Head" then
- place = (b.Position - Vector3.new(0,3,12))
- game.Workspace.Remote.PlaceMaterial:FireServer(game.Lighting.Materials.VS50Placed, place, true)
- end
- end
- end
- end)
- CGG.Main.StatsTab.ONE.MouseButton1Down:connect(function()
- for i, v in pairs(game.Players:GetChildren()) do
- if v.Name == player.Text then
- mhm = v.Character
- place = (mhm.Head.Position - Vector3.new(0,3,12))
- game.Workspace.Remote.PlaceMaterial:FireServer(game.Lighting.Materials.VS50Placed, place, true)
- end
- end
- end)
- CGG.Main.StatsTab.Zom.MouseButton1Down:connect(function()
- for i, v in pairs(game.Workspace.Zombies:GetChildren()) do
- for a, b in pairs(v:GetChildren()) do
- if b.Name == "Zombie" then
- for c, d in pairs(b:GetChildren()) do
- if d.Name == "Humanoid" then
- game.Workspace.Remote.DamageZombie:FireServer(d, 1000)
- end
- end
- end
- end
- end
- end)
- CGG.Main.StatsTab.Lag.MouseButton1Down:connect(function()
- for i, g in pairs (game.Players:GetPlayers()) do
- workspace.Remote.SendMessage:FireServer(g, "Red", "Warning!! Major Server Lag!!!!")
- end
- wait(1)
- for i = 1, 120 do
- for i, v in pairs(game.Workspace.Zombies:GetChildren()) do
- for a, b in pairs(v:GetChildren()) do
- if b.Name == "Zombie" then
- for c, d in pairs(b:GetChildren()) do
- if d.Name == "Head" then
- mhm = d
- place = (mhm.Position - Vector3.new(0,3,12))
- game.Workspace.Remote.PlaceMaterial:FireServer(game.Lighting.Materials.VS50Placed, place, true)
- end
- end
- end
- end
- end
- end
- end)
- CGG.Main.StatsTab.Chat.MouseButton1Down:connect(function()
- color = CColor.Text
- if color == "Color" then
- chatcolor = "Red"
- else
- chatcolor = color
- end
- for i, g in pairs (game.Players:GetPlayers()) do
- workspace.Remote.SendMessage:FireServer(g, chatcolor, CText.Text)
- end
- end)
- CGG.Main.StatsTab.print.MouseButton1Down:connect(function()
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- print(u.Name)
- print(" ")
- end
- end)
- CGG.Main.StatsTab.brin.MouseButton1Down:connect(function()
- thing = itemtobr
- me = game.Players.LocalPlayer.Character.Head
- for y, u in pairs(game.Lighting.LootDrops:GetChildren()) do
- if u.Name == thing.Text then
- for i, v in pairs(u:GetChildren()) do
- if v:IsA("Model") then
- 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)))
- end
- end
- end
- end
- end)
- -- end --
- -- button function --
- CGG.Main.Guns.MouseButton1Down:connect(function()
- CGG.Main.GunsTab.Visible = true
- CGG.Main.ItemsTab.Visible = false
- CGG.Main.StatsTab.Visible = false
- end)
- CGG.Main.Items.MouseButton1Down:connect(function()
- CGG.Main.GunsTab.Visible = false
- CGG.Main.ItemsTab.Visible = true
- CGG.Main.StatsTab.Visible = false
- end)
- CGG.Main.Stats.MouseButton1Down:connect(function()
- CGG.Main.GunsTab.Visible = false
- CGG.Main.ItemsTab.Visible = false
- CGG.Main.StatsTab.Visible = true
- end)
- CGG.Main.Exit.MouseButton1Down:connect(function()
- CGG:remove()
- end)
- CGG.Main.Minus.MouseButton1Down:connect(function()
- CGG.Main.Visible = false
- CGG.Open.Visible = true
- end)
- CGG.Open.MouseButton1Down:connect(function()
- CGG.Main.Visible = true
- CGG.Open.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement