Advertisement
Guest User

Untitled

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