Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.355161786, 0, 0.542492926, 0)
- Frame.Size = UDim2.new(0, 400, 0, 200)
- Frame.Draggable = true
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.Position = UDim2.new(0.0250000004, 0, 0.50999999, 0)
- TextBox.Size = UDim2.new(0, 249, 0, 61)
- TextBox.Font = Enum.Font.SourceSansLight
- TextBox.PlaceholderColor3 = Color3.new(30,30,30)
- TextBox.PlaceholderText = "Player"
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0.662499964, 0, 0.50999999, 0)
- TextButton.Size = UDim2.new(0, 129, 0, 61)
- TextButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- TextButton.Font = Enum.Font.SourceSansBold
- TextButton.Text = "BAN PLAYER"
- TextButton.TextColor3 = Color3.new(1, 0, 0)
- TextButton.TextSize = 14
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.0500000007, 0, 0.25999999, 0)
- TextLabel.Size = UDim2.new(0, 360, 0, 50)
- TextLabel.Font = Enum.Font.Highway
- TextLabel.Text = "TPS Ultimate Soccer Ban Player"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0.0500000007, 0, 0.0449999869, 0)
- TextLabel_2.Size = UDim2.new(0, 360, 0, 50)
- TextLabel_2.Font = Enum.Font.Highway
- TextLabel_2.Text = "TPS Admin"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14
- TextLabel_2.TextWrapped = true
- TextButton.MouseButton1Click:Connect(function()
- local name = TextBox.Text
- for i=1,8 do
- game.Workspace.FE.CDestroy.RemoteEventVote:FireServer(name)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement