Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local TextBox = Instance.new("TextBox")
  4. local TextButton = Instance.new("TextButton")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextLabel_2 = Instance.new("TextLabel")
  7. --Properties:
  8. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. Frame.Parent = ScreenGui
  12. Frame.Active = true
  13. Frame.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  14. Frame.BackgroundTransparency = 0.20000000298023
  15. Frame.BorderSizePixel = 0
  16. Frame.Position = UDim2.new(0.355161786, 0, 0.542492926, 0)
  17. Frame.Size = UDim2.new(0, 400, 0, 200)
  18. Frame.Draggable = true
  19.  
  20. TextBox.Parent = Frame
  21. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  22. TextBox.Position = UDim2.new(0.0250000004, 0, 0.50999999, 0)
  23. TextBox.Size = UDim2.new(0, 249, 0, 61)
  24. TextBox.Font = Enum.Font.SourceSansLight
  25. TextBox.PlaceholderColor3 = Color3.new(30,30,30)
  26. TextBox.PlaceholderText = "Player"
  27. TextBox.Text = ""
  28. TextBox.TextColor3 = Color3.new(0, 0, 0)
  29. TextBox.TextSize = 14
  30. TextBox.TextWrapped = true
  31.  
  32. TextButton.Parent = Frame
  33. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  34. TextButton.Position = UDim2.new(0.662499964, 0, 0.50999999, 0)
  35. TextButton.Size = UDim2.new(0, 129, 0, 61)
  36. TextButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  37. TextButton.Font = Enum.Font.SourceSansBold
  38. TextButton.Text = "BAN PLAYER"
  39. TextButton.TextColor3 = Color3.new(1, 0, 0)
  40. TextButton.TextSize = 14
  41.  
  42. TextLabel.Parent = Frame
  43. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  44. TextLabel.BackgroundTransparency = 1
  45. TextLabel.Position = UDim2.new(0.0500000007, 0, 0.25999999, 0)
  46. TextLabel.Size = UDim2.new(0, 360, 0, 50)
  47. TextLabel.Font = Enum.Font.Highway
  48. TextLabel.Text = "TPS Ultimate Soccer Ban Player"
  49. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  50. TextLabel.TextScaled = true
  51. TextLabel.TextSize = 14
  52. TextLabel.TextWrapped = true
  53.  
  54. TextLabel_2.Parent = Frame
  55. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  56. TextLabel_2.BackgroundTransparency = 1
  57. TextLabel_2.Position = UDim2.new(0.0500000007, 0, 0.0449999869, 0)
  58. TextLabel_2.Size = UDim2.new(0, 360, 0, 50)
  59. TextLabel_2.Font = Enum.Font.Highway
  60. TextLabel_2.Text = "TPS Admin"
  61. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  62. TextLabel_2.TextScaled = true
  63. TextLabel_2.TextSize = 14
  64. TextLabel_2.TextWrapped = true
  65.  
  66. TextButton.MouseButton1Click:Connect(function()
  67. local name = TextBox.Text
  68. for i=1,8 do
  69. game.Workspace.FE.CDestroy.RemoteEventVote:FireServer(name)
  70. end
  71. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement