Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(game.CoreGui:GetChildren()) do --check
- if v.Name == "md882jkd4568" then
- v:Destroy()
- end
- end
- player = game.Players.LocalPlayer
- plr = game.Players.LocalPlayer
- -- Instances:
- md882jkd4568 = Instance.new("ScreenGui")
- OpenClose = Instance.new("TextButton")
- Top = Instance.new("TextLabel")
- Main = Instance.new("Frame")
- UIListLayout = Instance.new("UIListLayout")
- Minigun = Instance.new("TextButton")
- RPG = Instance.new("TextButton")
- Teleport = Instance.new("TextButton")
- Medkit = Instance.new("TextButton")
- Water = Instance.new("TextButton")
- --Properties:
- md882jkd4568.Name = "md882jkd4568"
- md882jkd4568.Parent = game.CoreGui
- OpenClose.Name = "Open/Close"
- OpenClose.Parent = md882jkd4568
- OpenClose.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenClose.Position = UDim2.new(0, 0, 0, 300)
- OpenClose.Size = UDim2.new(0, 107, 0, 28)
- OpenClose.Style = Enum.ButtonStyle.RobloxRoundButton
- OpenClose.Font = Enum.Font.SourceSans
- OpenClose.Text = "Close"
- OpenClose.TextColor3 = Color3.new(0, 0, 0)
- OpenClose.TextSize = 14
- Top.Name = "Top"
- Top.Parent = md882jkd4568
- Top.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- Top.BorderSizePixel = 0
- Top.Position = UDim2.new(0, 15, 0, 330)
- Top.Size = UDim2.new(0, 192, 0, 39)
- Top.ZIndex = 2
- Top.Font = Enum.Font.SourceSans
- Top.Text = "The Apocalypse"
- Top.TextColor3 = Color3.new(1, 1, 1)
- Top.TextSize = 22
- Main.Name = "Main"
- Main.Parent = Top
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(0.24, 0.24, 0.24)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0, 0, 0, 39)
- Main.Size = UDim2.new(0, 192, 0, 290)
- UIListLayout.Parent = Main
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- Minigun.Name = "Minigun"
- Minigun.Parent = Main
- Minigun.BackgroundColor3 = Color3.new(1, 1, 1)
- Minigun.BorderSizePixel = 0
- Minigun.Position = UDim2.new(0.105820104, 0, 0.517241359, 0)
- Minigun.Size = UDim2.new(0, 165, 0, 30)
- Minigun.ZIndex = 2
- Minigun.Style = Enum.ButtonStyle.RobloxRoundButton
- Minigun.Font = Enum.Font.SourceSans
- Minigun.Text = "Minigun"
- Minigun.TextColor3 = Color3.new(0, 0, 0)
- Minigun.TextSize = 14
- RPG.Name = "RPG"
- RPG.Parent = Main
- RPG.BackgroundColor3 = Color3.new(1, 1, 1)
- RPG.BorderSizePixel = 0
- RPG.Position = UDim2.new(0.105820104, 0, 0.517241359, 0)
- RPG.Size = UDim2.new(0, 165, 0, 30)
- RPG.ZIndex = 2
- RPG.Style = Enum.ButtonStyle.RobloxRoundButton
- RPG.Font = Enum.Font.SourceSans
- RPG.Text = "RPG"
- RPG.TextColor3 = Color3.new(0, 0, 0)
- RPG.TextSize = 14
- Teleport.Name = "Teleport"
- Teleport.Parent = Main
- Teleport.BackgroundColor3 = Color3.new(1, 1, 1)
- Teleport.BorderSizePixel = 0
- Teleport.Position = UDim2.new(0.105820104, 0, 0.517241359, 0)
- Teleport.Size = UDim2.new(0, 165, 0, 30)
- Teleport.ZIndex = 2
- Teleport.Style = Enum.ButtonStyle.RobloxRoundButton
- Teleport.Font = Enum.Font.SourceSans
- Teleport.Text = "Teleport"
- Teleport.TextColor3 = Color3.new(0, 0, 0)
- Teleport.TextSize = 14
- Medkit.Name = "Medkit"
- Medkit.Parent = Main
- Medkit.BackgroundColor3 = Color3.new(1, 1, 1)
- Medkit.BorderSizePixel = 0
- Medkit.Position = UDim2.new(0.105820104, 0, 0.517241359, 0)
- Medkit.Size = UDim2.new(0, 165, 0, 30)
- Medkit.ZIndex = 2
- Medkit.Style = Enum.ButtonStyle.RobloxRoundButton
- Medkit.Font = Enum.Font.SourceSans
- Medkit.Text = "Medkit"
- Medkit.TextColor3 = Color3.new(0, 0, 0)
- Medkit.TextSize = 14
- Water.Name = "Water"
- Water.Parent = Main
- Water.BackgroundColor3 = Color3.new(1, 1, 1)
- Water.BorderSizePixel = 0
- Water.Position = UDim2.new(0.105820104, 0, 0.517241359, 0)
- Water.Size = UDim2.new(0, 165, 0, 30)
- Water.ZIndex = 2
- Water.Style = Enum.ButtonStyle.RobloxRoundButton
- Water.Font = Enum.Font.SourceSans
- Water.Text = "Water"
- Water.TextColor3 = Color3.new(0, 0, 0)
- Water.TextSize = 14
- OpenClose.MouseButton1Click:connect(function()
- if OpenClose.Text == "Close" then
- --closeall()
- Top:TweenPosition(UDim2.new(0, -200, 0, 330),"InOut","Quad",0.5)
- repeat wait() until
- Top.Position == UDim2.new(0, -200, 0, 330)
- OpenClose.Text = "Open" --closing
- --secondary.Visible = false
- else
- Top:TweenPosition(UDim2.new(0, 15, 0, 330),"InOut","Quad",0.5)
- repeat wait() until
- Top.Position == UDim2.new(0, 15, 0, 330)
- --secondary.Visible = true
- OpenClose.Text = "Close" --opening
- end
- end)
- Minigun.MouseButton1Click:connect(function()
- A_1 = game:GetService("Workspace").Items.Ammo
- A_2 = game:GetService("ReplicatedStorage").Items.Weapons.Minigun
- game:GetService("ReplicatedStorage").Remote.Backpack.PickupEvent:FireServer(A_1, A_2)
- wait(1)
- A_3 = game.Players.LocalPlayer.Backpack.Minigun
- A_4 = "Loaded"
- A_5 = 1000000000
- game:GetService("ReplicatedStorage").Remote.AmmoEvent:FireServer(A_3, A_4, A_5)
- end)
- RPG.MouseButton1Click:connect(function()
- A_1 = game:GetService("Workspace").Items.Ammo
- A_2 = game:GetService("ReplicatedStorage").Items.Weapons.RPG
- game:GetService("ReplicatedStorage").Remote.Backpack.PickupEvent:FireServer(A_1, A_2)
- wait(1)
- A_3 = game.Players.LocalPlayer.Backpack.RPG
- A_4 = "Loaded"
- A_5 = 1000000000
- game:GetService("ReplicatedStorage").Remote.AmmoEvent:FireServer(A_3, A_4, A_5)
- end)
- Teleport.MouseButton1Click:connect(function()
- mouse = game.Players.LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- if mouse.Target then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
- end
- end
- end)
- end)
- Medkit.MouseButton1Click:connect(function()
- A_1 = game.Players.LocalPlayer.PlayerGui.PerkSelection.Core.Perk.Medkit
- game:GetService("ReplicatedStorage").Remote.Backpack.GiveEvent:FireServer(A_1)
- end)
- Water.MouseButton1Click:connect(function()
- A_1 = game.Players.LocalPlayer.PlayerGui.PerkSelection.Core.Perk.Water
- game:GetService("ReplicatedStorage").Remote.Backpack.GiveEvent:FireServer(A_1)
- end)
- -- Remote Notifications:
- --snip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement