Advertisement
SubScripts

Untitled

Jul 25th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local ScrollingFrame = Instance.new("ScrollingFrame")
  6. local UIListLayout = Instance.new("UIListLayout")
  7. local _1 = Instance.new("TextLabel")
  8.  
  9. local m = Instance.new("Hint", workspace)
  10. m.Text = "A new killing will begin..."
  11.  
  12. --Properties:
  13. ScreenGui.Parent = owner.PlayerGui
  14.  
  15. ScrollingFrame.Parent = ScreenGui
  16. ScrollingFrame.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  17. ScrollingFrame.Size = UDim2.new(0, 214, 0, 346)
  18.  
  19. UIListLayout.Parent = ScrollingFrame
  20. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  21.  
  22. _1.Name = "1"
  23. _1.Parent = ScrollingFrame
  24. _1.BackgroundColor3 = Color3.new(1, 1, 1)
  25. _1.BackgroundTransparency = 1
  26. _1.Size = UDim2.new(0, 200, 0, 50)
  27. _1.Font = Enum.Font.SourceSans
  28. _1.Text = "Select a player to kill!"
  29. _1.TextColor3 = Color3.new(1, 1, 1)
  30. _1.TextSize = 14
  31.  
  32. function new(p)
  33. local TextButton = Instance.new("TextButton")
  34. TextButton.Parent = ScrollingFrame
  35. TextButton.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  36. TextButton.BorderColor3 = Color3.new(1, 0, 0)
  37. TextButton.BorderSizePixel = 4
  38. TextButton.Position = UDim2.new(0.261682242, 0, 0.144508675, 0)
  39. TextButton.Size = UDim2.new(0, 161, 0, 48)
  40. TextButton.Font = Enum.Font.SourceSans
  41. TextButton.Text = p.Name
  42. TextButton.TextColor3 = Color3.new(1, 1, 1)
  43. TextButton.TextSize = 14
  44. return TextButton
  45. end
  46.  
  47. buttons = {}
  48.  
  49.  
  50.  
  51. for i,v in pairs(game.Players:GetPlayers()) do
  52. table.insert(buttons,new(v))
  53. buttons[i].MouseButton1Click:Connect(function()
  54. workspace[buttons[i].Text].Humanoid.Health = 0
  55. ScreenGui:Remove()
  56. m.Text = "Killing Ended!"
  57. wait(2)
  58. m:Remove()
  59. end)
  60. end
  61.  
  62.  
  63. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement