Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local By = Instance.new("TextLabel")
- local infammo = Instance.new("TextButton")
- local OpGun = Instance.new("TextButton")
- local Zombieesp = Instance.new("TextButton")
- local Heads = Instance.new("TextButton")
- local Open = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Parent = game.CoreGui
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.fromRGB(112, 115, 98)
- Main.BackgroundTransparency = 0.500
- Main.BorderSizePixel = 5
- Main.Position = UDim2.new(0.363914371, 0, 0.236842111, 0)
- Main.Size = UDim2.new(0, 267, 0, 363)
- Main.Draggable = true
- Main.Active = true
- Main.Visible = false
- By.Name = "By"
- By.Parent = Main
- By.BackgroundColor3 = Color3.fromRGB(63, 65, 55)
- By.Size = UDim2.new(0, 267, 0, 35)
- By.Font = Enum.Font.SciFi
- By.Text = "By SalatBlitz"
- By.TextColor3 = Color3.fromRGB(0, 0, 0)
- By.TextSize = 35.000
- infammo.Name = "infammo"
- infammo.Parent = Main
- infammo.BackgroundColor3 = Color3.fromRGB(63, 65, 55)
- infammo.BorderSizePixel = 4
- infammo.Position = UDim2.new(0.123595506, 0, 0.137741044, 0)
- infammo.Size = UDim2.new(0, 200, 0, 50)
- infammo.Font = Enum.Font.SciFi
- infammo.Text = "Inf. Ammo"
- infammo.TextColor3 = Color3.fromRGB(0, 0, 0)
- infammo.TextSize = 35.000
- infammo.MouseButton1Down:connect(function()
- local m = require(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Weapon1"))
- m.StoredAmmo = math.huge
- m.MagSize = math.huge
- m.Semi = false
- m.Damage = {Max = 1500000, Min = 10000}
- m.Spread = {Min = 0, Max = 0}
- m.BulletPenetration = 1500
- m.FireTime = 0
- local n = require(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Weapon2"))
- n.StoredAmmo = math.huge
- n.MagSize = math.huge
- n.Semi = false
- n.Damage = {Max = 1500000, Min = 10000}
- n.Spread = {Min = 0, Max = 0}
- n.BulletPenetration = 1500
- n.FireTime = 0
- end)
- OpGun.Name = "OpGun"
- OpGun.Parent = Main
- OpGun.BackgroundColor3 = Color3.fromRGB(63, 65, 55)
- OpGun.BorderSizePixel = 4
- OpGun.Position = UDim2.new(0.123595506, 0, 0.35812673, 0)
- OpGun.Size = UDim2.new(0, 200, 0, 50)
- OpGun.Font = Enum.Font.SciFi
- OpGun.Text = "Op Gun"
- OpGun.TextColor3 = Color3.fromRGB(0, 0, 0)
- OpGun.TextSize = 35.000
- OpGun.MouseButton1Down:connect(function()
- local m = require(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Weapon1"))
- m.StoredAmmo = math.huge
- m.MagSize = math.huge
- m.Semi = false
- m.Damage = {Max = 1500000, Min = 10000}
- m.Spread = {Min = 0, Max = 0}
- m.ViewKick = {
- Pitch = {Min = 0, Max = 0},
- Yaw = {Min = 0, Max = 0}
- }
- m.BulletPenetration = 1500
- m.FireTime = 0
- local n = require(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Weapon2"))
- n.StoredAmmo = math.huge
- n.MagSize = math.huge
- n.Semi = false
- n.Damage = {Max = 1500000, Min = 10000}
- n.Spread = {Min = 0, Max = 0}
- n.ViewKick = {
- Pitch = {Min = 0, Max = 0},
- Yaw = {Min = 0, Max = 0}
- }
- n.BulletPenetration = 1500
- n.FireTime = 0
- end)
- Zombieesp.Name = "Zombieesp"
- Zombieesp.Parent = Main
- Zombieesp.BackgroundColor3 = Color3.fromRGB(63, 65, 55)
- Zombieesp.BorderSizePixel = 4
- Zombieesp.Position = UDim2.new(0.123595506, 0, 0.564738274, 0)
- Zombieesp.Size = UDim2.new(0, 200, 0, 50)
- Zombieesp.Font = Enum.Font.SciFi
- Zombieesp.Text = "Esp Zombie"
- Zombieesp.TextColor3 = Color3.fromRGB(0, 0, 0)
- Zombieesp.TextSize = 35.000
- Zombieesp.MouseButton1Down:connect(function()
- function CreateESPPart(BodyPart,color)
- local ESPPartparent = BodyPart
- local Box = Instance.new("BoxHandleAdornment")
- Box.Size = BodyPart.Size + Vector3.new(0.1, 0.1, 0.1)
- Box.Name = "ESPPart"
- Box.Adornee = ESPPartparent
- Box.Color3 = color
- Box.AlwaysOnTop = true
- Box.ZIndex = 5
- Box.Transparency = 0.8
- Box.Parent = BodyPart
- end
- local zombs = workspace.Baddies:getChildren()
- for i=1,#zombs do
- local bodypart = zombs[i]:getChildren()
- for i=1,#bodypart do
- if bodypart[i].ClassName == "Part" then
- CreateESPPart(bodypart[i], Color3.fromRGB(0,255,0))
- end
- end
- end
- workspace.Baddies.ChildAdded:Connect(function(zomb)
- wait(1)
- local bodypart = zomb:getChildren()
- for i=1,#bodypart do
- if bodypart[i].ClassName == "Part" then
- CreateESPPart(bodypart[i], Color3.fromRGB(0,255,0))
- end
- end
- end)
- end)
- Heads.Name = "Heads"
- Heads.Parent = Main
- Heads.BackgroundColor3 = Color3.fromRGB(63, 65, 55)
- Heads.BorderSizePixel = 4
- Heads.Position = UDim2.new(0.123595506, 0, 0.785123944, 0)
- Heads.Size = UDim2.new(0, 200, 0, 50)
- Heads.Font = Enum.Font.SciFi
- Heads.Text = "Bring Heads"
- Heads.TextColor3 = Color3.fromRGB(0, 0, 0)
- Heads.TextSize = 35.000
- Heads.MouseButton1Down:connect(function()
- local pos = 5,0,5
- local zomb = workspace.Baddies:GetChildren()
- for i=1,#zomb do
- zomb[i].HeadBox.Transparency = 0
- zomb[i].HeadBox.Material = "Neon"
- zomb[i].HeadBox.CanCollide = false
- zomb[i].HeadBox.Anchored = true
- zomb[i].HeadBox.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(pos)
- end
- end)
- Open.Name = "Open"
- Open.Parent = ScreenGui
- Open.BackgroundColor3 = Color3.fromRGB(112, 115, 98)
- Open.BackgroundTransparency = 0.400
- Open.BorderColor3 = Color3.fromRGB(48, 75, 95)
- Open.BorderSizePixel = 3
- Open.Position = UDim2.new(0, 0, 0.417293221, 0)
- Open.Size = UDim2.new(0, 82, 0, 36)
- Open.Font = Enum.Font.SciFi
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(0, 0, 0)
- Open.TextSize = 23.000
- Open.MouseButton1Down:connect(function()
- Close.Visible = true
- Open.Visible = false
- Main.Visible = true
- end)
- Close.Name = "Close"
- Close.Parent = ScreenGui
- Close.BackgroundColor3 = Color3.fromRGB(112, 115, 98)
- Close.BackgroundTransparency = 0.400
- Close.BorderColor3 = Color3.fromRGB(48, 75, 95)
- Close.BorderSizePixel = 3
- Close.Position = UDim2.new(0, 0, 0.417293221, 0)
- Close.Size = UDim2.new(0, 82, 0, 36)
- Close.Visible = false
- Close.Font = Enum.Font.SciFi
- Close.Text = "Close"
- Close.TextColor3 = Color3.fromRGB(0, 0, 0)
- Close.TextSize = 23.000
- Close.MouseButton1Down:connect(function()
- Close.Visible = false
- Open.Visible = true
- Main.Visible = false
- end)
Add Comment
Please, Sign In to add comment