Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ 1.Put Your Name where it says NAMEHERE
- 2.That's all!
- --]]
- Player = game.Players.rvvz.PlayerGui
- Screen = Instance.new("ScreenGui", Player)
- Kill = Instance.new("Frame", Screen)
- Button = Instance.new("TextButton", Kill)
- Typer = Instance.new("TextBox", Kill)
- Button.BackgroundColor3 = Color3.new(255, 0, 0)
- Button.Size = UDim2.new(0, 50, 0, 25)
- Button.Text = "Kill:"
- Button.FontSize = "Size11"
- Kill.Name = "Kill"
- Typer.BackgroundColor3 = Color3.new(255, 255, 255)
- Typer.Size = UDim2.new(0, 150, 0, 25)
- Typer.Text = "PlayerName Here"
- Typer.Position = UDim2.new(0, 51, 0, 0)
- Typer.BackgroundTransparency = 0.4
- function Ok()
- if game.Players:findFirstChild(Typer.Text) ~= nil then
- G = game.Players:findFirstChild(Typer.Text)
- G.Character:BreakJoints()
- A = Instance.new("Hint", Player)
- A.Text = (Typer.Text.. " Has been succesfully killed")
- wait(4)
- HintRemove = Screen.Parent:GetChildren()
- for i=1, #HintRemove do
- if HintRemove[i].ClassName == "Hint" then
- HintRemove[i] :Remove()
- else
- M = Instance.new("Hint", Player)
- M.Text = (Typer.Text.. " Does Not Exist")
- wait(4)
- RemoveHint = Screen.Parent:GetChildren()
- for i=1, #RemoveHint do
- if RemoveHint[i].ClassName == "Hint" then
- RemoveHint[i] :Remove()
- end
- end
- end
- end
- end
- end
- Button.MouseButton1Down:connect(Ok)
- Kick = Instance.new("Frame", Screen)
- Button2 = Instance.new("TextButton", Kick)
- Typer2 = Instance.new("TextBox", Kick)
- Kick.Name = "Kick"
- Button2.BackgroundColor3 = Color3.new(255, 0, 0)
- Button2.Text = "Kick:"
- Button2.FontSize = "Size11"
- Button2.Position = UDim2.new(0, 0, 0, 26)
- Button2.Size = UDim2.new(0, 50, 0, 26)
- Typer2.BackgroundColor3 = Color3.new(255, 255, 255)
- Typer2.BackgroundTransparency = 0.4
- Typer2.Position = UDim2.new(0, 51, 0, 26)
- Typer2.Size = UDim2.new(0, 150, 0, 26)
- Typer2.Text = "PlayerName Here"
- function Ok2()
- if game.Players:findFirstChild(Typer2.Text) ~= nil then
- G = game.Players:findFirstChild(Typer2.Text)
- G :Remove()
- M2 = Instance.new("Hint", Player.PlayerGui)
- M2.Text = (Typer2.Text.. " Has Succesfuly Been Kicked")
- wait(4)
- M2 :Remove()
- else
- M2Error = Instance.new("Hint", Player.PlayerGui)
- M2Error.Text = (Typer2.Text.. " Does Not Exist")
- wait(4)
- M2Error :Remove()
- end
- end
- Button2.MouseButton1Down:connect(Ok2)
- Message = Instance.new("Frame", Screen)
- Button3 = Instance.new("TextButton", Message)
- Typer3 = Instance.new("TextBox", Message)
- Message.Name = "Message"
- Typer3.BackgroundColor3 = Color3.new(255, 255, 255)
- Typer3.BackgroundTransparency = 0.4
- Typer3.Position = UDim2.new(0, 51, 0, 53)
- Typer3.Size = UDim2.new(0, 150, 0, 26)
- Typer3.Text = "Type Message Here"
- Button3.BackgroundColor3 = Color3.new(255, 0, 0)
- Button3.Position = UDim2.new(0, 0, 0, 53)
- Button3.Size = UDim2.new(0, 50, 0, 26)
- Button3.Text = "Message:"
- function Ok3()
- if Typer3.Text == "Type Message Here" then
- Error3 = Instance.new("Hint", Screen.Parent.Parent.PlayerGui)
- Error3.Text = "Please Type A message"
- wait(3)
- ErrorRemove = Screen.Parent.Parent.PlayerGui:GetChildren()
- for i=1, #ErrorRemove do
- if ErrorRemove[i].ClassName == "Hint" then
- ErrorRemove[i] :Remove()
- end
- end
- else
- Message = Instance.new("Message", game.Workspace)
- Message.Text = (Typer3.Text)
- RemoveMessage3 = game.Workspace:GetChildren()
- wait(3)
- for i=1, #RemoveMessage3 do
- if RemoveMessage3[i].ClassName == "Message" then
- RemoveMessage3[i] :Remove()
- end
- end
- end
- end
- Button3.MouseButton1Down:connect(Ok3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement