Advertisement
Verhed

Untitled

Jul 26th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. local KillGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local PlayerBox = Instance.new("TextBox")
  4. local KillButton = Instance.new("TextButton")
  5. KillGui.Name = "KillGui"
  6. KillGui.Parent = game.Players.LocalPlayer.PlayerGui
  7. Frame.Parent = KillGui
  8. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  9. Frame.Position = UDim2.new(-0.00181818183, 0, 0.241992876, 0)
  10. Frame.Size = UDim2.new(0, 356, 0, 171)
  11. PlayerBox.Name = "PlayerBox"
  12. PlayerBox.Parent = Frame
  13. PlayerBox.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  14. PlayerBox.Position = UDim2.new(0.224719107, 0, 0.146198824, 0)
  15. PlayerBox.Size = UDim2.new(0, 200, 0, 50)
  16. PlayerBox.Font = Enum.Font.SourceSans
  17. PlayerBox.Text = "Players Name"
  18. PlayerBox.TextColor3 = Color3.new(0, 1, 0)
  19. PlayerBox.TextScaled = true
  20. PlayerBox.TextSize = 14
  21. PlayerBox.TextWrapped = true
  22. KillButton.Name = "KillButton"
  23. KillButton.Parent = Frame
  24. KillButton.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  25. KillButton.BorderColor3 = Color3.new(0.333333, 1, 0)
  26. KillButton.BorderSizePixel = 0
  27. KillButton.Position = UDim2.new(0.230337083, 0, 0.543859661, 0)
  28. KillButton.Size = UDim2.new(0, 200, 0, 50)
  29. KillButton.Font = Enum.Font.SourceSans
  30. KillButton.Text = "Kill Player"
  31. KillButton.TextColor3 = Color3.new(0, 1, 0)
  32. KillButton.TextScaled = true
  33. KillButton.TextSize = 14
  34. KillButton.TextWrapped = true
  35. KillGui.ResetOnSpawn = false
  36. KillButton.MouseButton1Click:connect(function()
  37. local plr = PlayerBox.Text
  38. game.Players[plr].Character.Humanoid.Health = 0
  39. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement