Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created by Sorosh and edited by Mozoreno--
- local MezornosPFGui = Instance.new("ScreenGui")
- local gui = Instance.new("Frame")
- local title = Instance.new("Frame")
- local heading = Instance.new("TextLabel")
- local exit = Instance.new("TextButton")
- local container = Instance.new("Frame")
- local teamName = Instance.new("TextBox")
- local toggle = Instance.new("TextButton")
- local credits = Instance.new("TextLabel")
- local open = Instance.new("Frame")
- local openGui = Instance.new("TextButton")
- local errorText = Instance.new("TextLabel")
- local active = false
- MezornosPFGui.Name = "MezornosPFGui"
- MezornosPFGui.Parent = game.CoreGui
- MezornosPFGui.ResetOnSpawn = false
- gui.Name = "gui"
- gui.Parent = MezornosPFGui
- gui.BackgroundColor3 = Color3.new(0.027451, 0.117647, 0.239216)
- gui.BorderSizePixel = 0
- gui.Position = UDim2.new(0.710329235, 0, 0.298882723, 0)
- gui.Selectable = true
- gui.Size = UDim2.new(0.246706635, 0, 0.223184347, 0)
- gui.Draggable = true
- gui.Visible = false
- title.Name = "title"
- title.Parent = gui
- title.BackgroundColor3 = Color3.new(0.121569, 0.258824, 0.529412)
- title.BorderSizePixel = 0
- title.Position = UDim2.new(-2.05782698e-07, 0, 0, 0)
- title.Selectable = true
- title.Size = UDim2.new(1.00000048, 0, 0.200764447, 0)
- title.Draggable = true
- heading.Name = "heading"
- heading.Parent = title
- heading.BackgroundColor3 = Color3.new(1, 1, 1)
- heading.BackgroundTransparency = 1
- heading.Position = UDim2.new(0.0458272807, 0, 0, 0)
- heading.Size = UDim2.new(0.800000012, 0, 1, 0)
- heading.Font = Enum.Font.GothamBlack
- heading.Text = "Insta-Kill GUI"
- heading.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
- heading.TextScaled = true
- heading.TextSize = 14
- heading.TextWrapped = true
- heading.Draggable = true
- exit.Name = "exit"
- exit.Parent = title
- exit.BackgroundColor3 = Color3.new(0.152941, 0.556863, 0.647059)
- exit.BorderSizePixel = 0
- exit.Position = UDim2.new(0.899999976, 0, 0, 0)
- exit.Size = UDim2.new(0.100000001, 0, 1, 0)
- exit.Font = Enum.Font.GothamBold
- exit.Text = "X"
- exit.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
- exit.TextSize = 14
- exit.Draggable = true
- container.Name = "container"
- container.Parent = gui
- container.BackgroundColor3 = Color3.new(1, 1, 1)
- container.BackgroundTransparency = 1
- container.Position = UDim2.new(-1.85179445e-07, 0, 0.200764433, 0)
- container.Size = UDim2.new(0.999999702, 0, 0.799235642, 0)
- teamName.Name = "teamName"
- teamName.Parent = container
- teamName.BackgroundColor3 = Color3.new(0.121569, 0.258824, 0.529412)
- teamName.Position = UDim2.new(0.0458272956, 0, 0.140856594, 0)
- teamName.Size = UDim2.new(0.903717577, 0, 0.296404868, 0)
- teamName.Font = Enum.Font.GothamSemibold
- teamName.PlaceholderColor3 = Color3.new(0.129412, 0.901961, 0.756863)
- teamName.PlaceholderText = "Opposing Team Name"
- teamName.Text = ""
- teamName.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
- teamName.TextScaled = true
- teamName.TextSize = 14
- teamName.TextWrapped = true
- toggle.Name = "toggle"
- toggle.Parent = container
- toggle.BackgroundColor3 = Color3.new(0.121569, 0.258824, 0.529412)
- toggle.Position = UDim2.new(0.0454156399, 0, 0.518260598, 0)
- toggle.Size = UDim2.new(0.903999925, 0, 0.276701927, 0)
- toggle.Font = Enum.Font.GothamSemibold
- toggle.Text = "Turn On"
- toggle.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
- toggle.TextScaled = true
- toggle.TextSize = 14
- toggle.TextWrapped = true
- credits.Name = "credits"
- credits.Parent = container
- credits.BackgroundColor3 = Color3.new(1, 1, 1)
- credits.BackgroundTransparency = 1
- credits.Position = UDim2.new(0, 0, 0.895419002, 0)
- credits.Size = UDim2.new(0.282038718, 0, 0.100000001, 0)
- credits.Font = Enum.Font.GothamSemibold
- credits.Text = "Mezorno#2928"
- credits.TextColor3 = Color3.new(0.121569, 0.258824, 0.529412)
- credits.TextScaled = true
- credits.TextSize = 14
- credits.TextWrapped = true
- open.Name = "open"
- open.Parent = MezornosPFGui
- open.BackgroundColor3 = Color3.new(0.027451, 0.117647, 0.239216)
- open.BorderSizePixel = 0
- open.Position = UDim2.new(0, 0, 0.484636843, 0)
- open.Size = UDim2.new(0.100000001, 0, 0.0636871532, 0)
- openGui.Name = "openGui"
- openGui.Parent = open
- openGui.BackgroundColor3 = Color3.new(1, 1, 1)
- openGui.BackgroundTransparency = 1
- openGui.Size = UDim2.new(1, 0, 1, 0)
- openGui.Font = Enum.Font.GothamBold
- openGui.Text = "Open"
- openGui.TextColor3 = Color3.new(0.129412, 0.901961, 0.756863)
- openGui.TextScaled = true
- openGui.TextSize = 14
- openGui.TextWrapped = true
- errorText.Name = "errorText"
- errorText.Parent = container
- errorText.BackgroundColor3 = Color3.new(0.858824, 0.176471, 0.262745)
- errorText.BorderSizePixel = 0
- errorText.Position = UDim2.new(0.206310511, 0, 0.175081193, 0)
- errorText.Size = UDim2.new(0.573300838, 0, 0.522806883, 0)
- errorText.Visible = false
- errorText.Font = Enum.Font.GothamSemibold
- errorText.Text = "Error: Enter opposing team name"
- errorText.TextColor3 = Color3.new(0.121569, 0.258824, 0.529412)
- errorText.TextScaled = true
- errorText.TextSize = 14
- errorText.TextWrapped = true
- openGui.MouseButton1Down:Connect(function()
- gui.Visible = true
- open.Visible = false
- end)
- exit.MouseButton1Down:Connect(function()
- gui.Visible = false
- open.Visible = true
- end)
- toggle.MouseButton1Down:Connect(function()
- local temp = string.lower(teamName.Text)
- if temp == "phantoms" or temp == "ghosts" then
- active = not active
- if toggle.Text == "Turn On" then
- toggle.Text = "Turn Off"
- else
- toggle.Text = "Turn On"
- end
- else
- errorText.Visible = true
- wait(1)
- errorText.Visible = false
- end
- end)
- game:GetService("RunService").RenderStepped:connect(function(
- if active == true then
- for i,v in pairs(game.Teams[teamName.Text]:GetPlayers())do
- v.Character.HumanoidRootPart.Anchored = true
- v.Character.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(5,0,0)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement