Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CreateGui()
- -- Objects
- local friggysGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Red = Instance.new("TextButton")
- local White = Instance.new("TextButton")
- local Black = Instance.new("TextButton")
- local Yellow = Instance.new("TextButton")
- local Blue = Instance.new("TextButton")
- local Pink = Instance.new("TextButton")
- local Green = Instance.new("TextButton")
- local All = Instance.new("TextButton")
- local CBlue = Instance.new("TextButton")
- local CRed = Instance.new("TextButton")
- local CWhite = Instance.new("TextButton")
- local CYellow = Instance.new("TextButton")
- local CBlack = Instance.new("TextButton")
- local CPink = Instance.new("TextButton")
- local CNil = Instance.new("TextButton")
- local CGreen = Instance.new("TextButton")
- local TextBox = Instance.new("TextBox")
- local Back = Instance.new("TextButton")
- local Next = Instance.new("TextButton")
- local CWhite2 = Instance.new("TextButton")
- local CBlack2 = Instance.new("TextButton")
- local CRed2 = Instance.new("TextButton")
- local CYellow2 = Instance.new("TextButton")
- local CGreen2 = Instance.new("TextButton")
- local CPink2 = Instance.new("TextButton")
- local CNil2 = Instance.new("TextButton")
- local CBlue2 = Instance.new("TextButton")
- local FloodText = Instance.new("TextLabel")
- local ChangeText = Instance.new("TextLabel")
- local Change2Text = Instance.new("TextLabel")
- local ImageButton = Instance.new("ImageButton")
- local ImageButton2 = Instance.new("ImageButton")
- -- Properties
- friggysGui.Name = "friggysGui"
- friggysGui.Parent = game.CoreGui
- Frame.Parent = friggysGui
- Frame.Active = true
- Frame.Visible = false
- Frame.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- Frame.Position = UDim2.new(0.13301374, 0, 0.286881804, 0)
- Frame.Draggable = true
- Frame.Size = UDim2.new(0, 374, 0, 621)
- Red.Name = "Red"
- Red.Parent = Frame
- Red.BackgroundColor3 = Color3.new(1, 0.262745, 0.262745)
- Red.Position = UDim2.new(0.148204669, 0, 0.10303703, 0)
- Red.Size = UDim2.new(0, 50, 0, 50)
- Red.Font = Enum.Font.SourceSans
- Red.FontSize = Enum.FontSize.Size14
- Red.Text = "Red"
- Red.TextColor3 = Color3.new(0, 0, 0)
- Red.TextSize = 14
- White.Name = "White"
- White.Parent = Frame
- White.BackgroundColor3 = Color3.new(1, 1, 1)
- White.Position = UDim2.new(0.719633341, 0, 0.103037037, 0)
- White.Size = UDim2.new(0, 50, 0, 50)
- White.Font = Enum.Font.SourceSans
- White.FontSize = Enum.FontSize.Size14
- White.Text = "White"
- White.TextColor3 = Color3.new(0, 0, 0)
- White.TextSize = 14
- Black.Name = "Black"
- Black.Parent = Frame
- Black.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
- Black.Position = UDim2.new(0.433919013, 0, 0.103037037, 0)
- Black.Size = UDim2.new(0, 50, 0, 50)
- Black.Font = Enum.Font.SourceSans
- Black.FontSize = Enum.FontSize.Size14
- Black.Text = "Black"
- Black.TextColor3 = Color3.new(0, 0, 0)
- Black.TextSize = 14
- Yellow.Name = "Yellow"
- Yellow.Parent = Frame
- Yellow.BackgroundColor3 = Color3.new(1, 1, 0)
- Yellow.Position = UDim2.new(0.148204669, 0, 0.23288244, 0)
- Yellow.Size = UDim2.new(0, 50, 0, 50)
- Yellow.Font = Enum.Font.SourceSans
- Yellow.FontSize = Enum.FontSize.Size14
- Yellow.Text = "Yellow"
- Yellow.TextColor3 = Color3.new(0, 0, 0)
- Yellow.TextSize = 14
- Blue.Name = "Blue"
- Blue.Parent = Frame
- Blue.BackgroundColor3 = Color3.new(0.4, 0.792157, 1)
- Blue.Position = UDim2.new(0.719633341, 0, 0.23288244, 0)
- Blue.Size = UDim2.new(0, 50, 0, 50)
- Blue.Font = Enum.Font.SourceSans
- Blue.FontSize = Enum.FontSize.Size14
- Blue.Text = "Blue"
- Blue.TextColor3 = Color3.new(0, 0, 0)
- Blue.TextSize = 14
- Pink.Name = "Pink"
- Pink.Parent = Frame
- Pink.BackgroundColor3 = Color3.new(1, 0, 1)
- Pink.Position = UDim2.new(0.433919013, 0, 0.23288244, 0)
- Pink.Size = UDim2.new(0, 50, 0, 50)
- Pink.Font = Enum.Font.SourceSans
- Pink.FontSize = Enum.FontSize.Size14
- Pink.Text = "Pink"
- Pink.TextColor3 = Color3.new(0, 0, 0)
- Pink.TextSize = 14
- Green.Name = "Green"
- Green.Parent = Frame
- Green.BackgroundColor3 = Color3.new(0.223529, 1, 0.313726)
- Green.Position = UDim2.new(0.288388044, 0, 0.345066011, 0)
- Green.Size = UDim2.new(0, 50, 0, 50)
- Green.Font = Enum.Font.SourceSans
- Green.FontSize = Enum.FontSize.Size14
- Green.Text = "Green"
- Green.TextColor3 = Color3.new(0, 0, 0)
- Green.TextSize = 14
- All.Name = "All"
- All.Parent = Frame
- All.BackgroundColor3 = Color3.new(0.843137, 0.52549, 1)
- All.Position = UDim2.new(0.574102402, 0, 0.345066011, 0)
- All.Size = UDim2.new(0, 50, 0, 50)
- All.Font = Enum.Font.SourceSans
- All.FontSize = Enum.FontSize.Size14
- All.Text = "All"
- All.TextColor3 = Color3.new(0, 0, 0)
- All.TextSize = 14
- CBlue.Name = "CBlue"
- CBlue.Parent = Frame
- CBlue.BackgroundColor3 = Color3.new(0.4, 0.792157, 1)
- CBlue.Position = UDim2.new(0.719633341, 0, 0.701610267, 0)
- CBlue.Size = UDim2.new(0, 50, 0, 50)
- CBlue.Font = Enum.Font.SourceSans
- CBlue.FontSize = Enum.FontSize.Size14
- CBlue.Text = "Blue"
- CBlue.TextColor3 = Color3.new(0, 0, 0)
- CBlue.TextSize = 14
- CRed.Name = "CRed"
- CRed.Parent = Frame
- CRed.BackgroundColor3 = Color3.new(1, 0.262745, 0.262745)
- CRed.Position = UDim2.new(0.148204669, 0, 0.573375165, 0)
- CRed.Size = UDim2.new(0, 50, 0, 50)
- CRed.Font = Enum.Font.SourceSans
- CRed.FontSize = Enum.FontSize.Size14
- CRed.Text = "Red"
- CRed.TextColor3 = Color3.new(0, 0, 0)
- CRed.TextSize = 14
- CWhite.Name = "CWhite"
- CWhite.Parent = Frame
- CWhite.BackgroundColor3 = Color3.new(1, 1, 1)
- CWhite.Position = UDim2.new(0.719633341, 0, 0.573375165, 0)
- CWhite.Size = UDim2.new(0, 50, 0, 50)
- CWhite.Font = Enum.Font.SourceSans
- CWhite.FontSize = Enum.FontSize.Size14
- CWhite.Text = "White"
- CWhite.TextColor3 = Color3.new(0, 0, 0)
- CWhite.TextSize = 14
- CYellow.Name = "CYellow"
- CYellow.Parent = Frame
- CYellow.BackgroundColor3 = Color3.new(1, 1, 0)
- CYellow.Position = UDim2.new(0.148204669, 0, 0.701610267, 0)
- CYellow.Size = UDim2.new(0, 50, 0, 50)
- CYellow.Font = Enum.Font.SourceSans
- CYellow.FontSize = Enum.FontSize.Size14
- CYellow.Text = "Yellow"
- CYellow.TextColor3 = Color3.new(0, 0, 0)
- CYellow.TextSize = 14
- CBlack.Name = "CBlack"
- CBlack.Parent = Frame
- CBlack.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
- CBlack.Position = UDim2.new(0.433919013, 0, 0.573375165, 0)
- CBlack.Size = UDim2.new(0, 50, 0, 50)
- CBlack.Font = Enum.Font.SourceSans
- CBlack.FontSize = Enum.FontSize.Size14
- CBlack.Text = "Black"
- CBlack.TextColor3 = Color3.new(0, 0, 0)
- CBlack.TextSize = 14
- CPink.Name = "CPink"
- CPink.Parent = Frame
- CPink.BackgroundColor3 = Color3.new(1, 0, 1)
- CPink.Position = UDim2.new(0.433919013, 0, 0.701610267, 0)
- CPink.Size = UDim2.new(0, 50, 0, 50)
- CPink.Font = Enum.Font.SourceSans
- CPink.FontSize = Enum.FontSize.Size14
- CPink.Text = "Pink"
- CPink.TextColor3 = Color3.new(0, 0, 0)
- CPink.TextSize = 14
- CNil.Name = "CNil"
- CNil.Parent = Frame
- CNil.BackgroundColor3 = Color3.new(0.843137, 0.52549, 1)
- CNil.Position = UDim2.new(0.571428597, 0, 0.819896936, 0)
- CNil.Size = UDim2.new(0, 50, 0, 50)
- CNil.Font = Enum.Font.SourceSans
- CNil.FontSize = Enum.FontSize.Size14
- CNil.Text = "Nil"
- CNil.TextColor3 = Color3.new(0, 0, 0)
- CNil.TextSize = 14
- CGreen.Name = "CGreen"
- CGreen.Parent = Frame
- CGreen.BackgroundColor3 = Color3.new(0.223529, 1, 0.313726)
- CGreen.Position = UDim2.new(0.285714269, 0, 0.819896936, 0)
- CGreen.Size = UDim2.new(0, 50, 0, 50)
- CGreen.Font = Enum.Font.SourceSans
- CGreen.FontSize = Enum.FontSize.Size14
- CGreen.Text = "Green"
- CGreen.TextColor3 = Color3.new(0, 0, 0)
- CGreen.TextSize = 14
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.866667)
- TextBox.Position = UDim2.new(0.232620358, 0, 0.553945243, 0)
- TextBox.Size = UDim2.new(0, 200, 0, 50)
- TextBox.Visible = false
- TextBox.Font = Enum.Font.SourceSans
- TextBox.FontSize = Enum.FontSize.Size14
- TextBox.Text = "Player Name Here"
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- Back.Name = "Back"
- Back.Parent = Frame
- Back.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.866667)
- Back.Position = UDim2.new(0.893048286, 0, 0.935587764, 0)
- Back.Size = UDim2.new(0, 40, 0, 40)
- Back.Visible = false
- Back.Font = Enum.Font.SourceSans
- Back.FontSize = Enum.FontSize.Size14
- Back.Text = "Back"
- Back.TextColor3 = Color3.new(0, 0, 0)
- Back.TextSize = 14
- Next.Name = "Next"
- Next.Parent = Frame
- Next.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.866667)
- Next.Position = UDim2.new(0.893048286, 0, 0.935587764, 0)
- Next.Size = UDim2.new(0, 40, 0, 40)
- Next.Font = Enum.Font.SourceSans
- Next.FontSize = Enum.FontSize.Size14
- Next.Text = "Next"
- Next.TextColor3 = Color3.new(0, 0, 0)
- Next.TextSize = 14
- CWhite2.Name = "CWhite2"
- CWhite2.Parent = Frame
- CWhite2.BackgroundColor3 = Color3.new(1, 1, 1)
- CWhite2.Position = UDim2.new(0.71963346, 0, 0.658721387, 0)
- CWhite2.Size = UDim2.new(0, 50, 0, 50)
- CWhite2.Visible = false
- CWhite2.Font = Enum.Font.SourceSans
- CWhite2.FontSize = Enum.FontSize.Size14
- CWhite2.Text = "White"
- CWhite2.TextColor3 = Color3.new(0, 0, 0)
- CWhite2.TextSize = 14
- CBlack2.Name = "CBlack2"
- CBlack2.Parent = Frame
- CBlack2.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
- CBlack2.Position = UDim2.new(0.433919072, 0, 0.658721387, 0)
- CBlack2.Size = UDim2.new(0, 50, 0, 50)
- CBlack2.Visible = false
- CBlack2.Font = Enum.Font.SourceSans
- CBlack2.FontSize = Enum.FontSize.Size14
- CBlack2.Text = "Black"
- CBlack2.TextColor3 = Color3.new(0, 0, 0)
- CBlack2.TextSize = 14
- CRed2.Name = "CRed2"
- CRed2.Parent = Frame
- CRed2.BackgroundColor3 = Color3.new(1, 0.262745, 0.262745)
- CRed2.Position = UDim2.new(0.148204684, 0, 0.658721387, 0)
- CRed2.Size = UDim2.new(0, 50, 0, 50)
- CRed2.Visible = false
- CRed2.Font = Enum.Font.SourceSans
- CRed2.FontSize = Enum.FontSize.Size14
- CRed2.Text = "Red"
- CRed2.TextColor3 = Color3.new(0, 0, 0)
- CRed2.TextSize = 14
- CYellow2.Name = "CYellow2"
- CYellow2.Parent = Frame
- CYellow2.BackgroundColor3 = Color3.new(1, 1, 0)
- CYellow2.Position = UDim2.new(0.148204684, 0, 0.786956489, 0)
- CYellow2.Size = UDim2.new(0, 50, 0, 50)
- CYellow2.Visible = false
- CYellow2.Font = Enum.Font.SourceSans
- CYellow2.FontSize = Enum.FontSize.Size14
- CYellow2.Text = "Yellow"
- CYellow2.TextColor3 = Color3.new(0, 0, 0)
- CYellow2.TextSize = 14
- CGreen2.Name = "CGreen2"
- CGreen2.Parent = Frame
- CGreen2.BackgroundColor3 = Color3.new(0.223529, 1, 0.313726)
- CGreen2.Position = UDim2.new(0.285714269, 0, 0.905243158, 0)
- CGreen2.Size = UDim2.new(0, 50, 0, 50)
- CGreen2.Visible = false
- CGreen2.Font = Enum.Font.SourceSans
- CGreen2.FontSize = Enum.FontSize.Size14
- CGreen2.Text = "Green"
- CGreen2.TextColor3 = Color3.new(0, 0, 0)
- CGreen2.TextSize = 14
- CPink2.Name = "CPink2"
- CPink2.Parent = Frame
- CPink2.BackgroundColor3 = Color3.new(1, 0, 1)
- CPink2.Position = UDim2.new(0.433919072, 0, 0.786956489, 0)
- CPink2.Size = UDim2.new(0, 50, 0, 50)
- CPink2.Visible = false
- CPink2.Font = Enum.Font.SourceSans
- CPink2.FontSize = Enum.FontSize.Size14
- CPink2.Text = "Pink"
- CPink2.TextColor3 = Color3.new(0, 0, 0)
- CPink2.TextSize = 14
- CNil2.Name = "CNil2"
- CNil2.Parent = Frame
- CNil2.BackgroundColor3 = Color3.new(0.843137, 0.52549, 1)
- CNil2.Position = UDim2.new(0.571, 0, 0.905243158, 0)
- CNil2.Size = UDim2.new(0, 50, 0, 50)
- CNil2.Visible = false
- CNil2.Font = Enum.Font.SourceSans
- CNil2.FontSize = Enum.FontSize.Size14
- CNil2.Text = "Nil"
- CNil2.TextColor3 = Color3.new(0, 0, 0)
- CNil2.TextSize = 14
- CBlue2.Name = "CBlue2"
- CBlue2.Parent = Frame
- CBlue2.BackgroundColor3 = Color3.new(0.4, 0.792157, 1)
- CBlue2.Position = UDim2.new(0.71963346, 0, 0.786956489, 0)
- CBlue2.Size = UDim2.new(0, 50, 0, 50)
- CBlue2.Visible = false
- CBlue2.Font = Enum.Font.SourceSans
- CBlue2.FontSize = Enum.FontSize.Size14
- CBlue2.Text = "Blue"
- CBlue2.TextColor3 = Color3.new(0, 0, 0)
- CBlue2.TextSize = 14
- FloodText.Name = "FloodText"
- FloodText.Parent = Frame
- FloodText.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- FloodText.BorderColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- FloodText.Position = UDim2.new(0.229946524, 0, 0.00966183562, 0)
- FloodText.Size = UDim2.new(0, 200, 0, 50)
- FloodText.Font = Enum.Font.Fantasy
- FloodText.FontSize = Enum.FontSize.Size14
- FloodText.Text = "Flood"
- FloodText.TextColor3 = Color3.new(1, 1, 1)
- FloodText.TextScaled = true
- FloodText.TextSize = 14
- FloodText.TextWrapped = true
- ChangeText.Name = "ChangeText"
- ChangeText.Parent = Frame
- ChangeText.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- ChangeText.BorderColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- ChangeText.Position = UDim2.new(0.0882352889, 0, 0.458937198, 0)
- ChangeText.Size = UDim2.new(0, 307, 0, 50)
- ChangeText.Font = Enum.Font.Fantasy
- ChangeText.FontSize = Enum.FontSize.Size14
- ChangeText.Text = "Change Team (All)"
- ChangeText.TextColor3 = Color3.new(1, 1, 1)
- ChangeText.TextScaled = true
- ChangeText.TextSize = 14
- ChangeText.TextWrapped = true
- Change2Text.Name = "Change2Text"
- Change2Text.Parent = Frame
- Change2Text.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- Change2Text.BorderColor3 = Color3.new(0.105882, 0.105882, 0.105882)
- Change2Text.Position = UDim2.new(0.0882352889, 0, 0.458937198, 0)
- Change2Text.Size = UDim2.new(0, 307, 0, 50)
- Change2Text.Visible = false
- Change2Text.Font = Enum.Font.Fantasy
- Change2Text.FontSize = Enum.FontSize.Size14
- Change2Text.Text = "Change Team"
- Change2Text.TextColor3 = Color3.new(1, 1, 1)
- Change2Text.TextScaled = true
- Change2Text.TextSize = 14
- Change2Text.TextWrapped = true
- ImageButton.Parent = friggysGui
- ImageButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton.Position = UDim2.new(0.00364773325, 0, 0.587319916, 0)
- ImageButton.Size = UDim2.new(0, 100, 0, 100)
- ImageButton.Image = "rbxassetid://85432288"
- ImageButton2.Parent = friggysGui
- ImageButton2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton2.Position = UDim2.new(0.00364773325, 0, 0.587319916, 0)
- ImageButton2.Size = UDim2.new(0, 100, 0, 100)
- ImageButton.Visible = false
- ImageButton2.Image = "rbxassetid://85432288"
- -- Functions
- Blue.MouseButton1Down:connect(function()
- local BlueEvent = game:GetService("Workspace")["Really blueZone"].RE
- BlueEvent:FireServer()
- end)
- Red.MouseButton1Down:connect(function()
- local RedEvent = game:GetService("Workspace")["Really redZone"].RE
- RedEvent:FireServer()
- end)
- Green.MouseButton1Down:connect(function()
- local GreenEvent = game:GetService("Workspace").CamoZone.RE
- GreenEvent:FireServer()
- end)
- Black.MouseButton1Down:connect(function()
- local BlackEvent = game:GetService("Workspace").BlackZone.RE
- BlackEvent:FireServer()
- end)
- Pink.MouseButton1Down:connect(function()
- local MagentaEvent = game:GetService("Workspace").MagentaZone.RE
- MagentaEvent:FireServer()
- end)
- White.MouseButton1Down:connect(function()
- local WhiteEvent = game:GetService("Workspace").WhiteZone.RE
- WhiteEvent:FireServer()
- end)
- Yellow.MouseButton1Down:connect(function()
- local YellowEvent = game:GetService("Workspace")["New YellerZone"].RE
- YellowEvent:FireServer()
- end)
- All.MouseButton1Down:connect(function()
- local BlueEvent = game:GetService("Workspace")["Really blueZone"].RE
- BlueEvent:FireServer()
- local YellowEvent = game:GetService("Workspace")["New YellerZone"].RE
- YellowEvent:FireServer()
- local BlackEvent = game:GetService("Workspace").BlackZone.RE
- BlackEvent:FireServer()
- local RedEvent = game:GetService("Workspace")["Really redZone"].RE
- RedEvent:FireServer()
- local GreenEvent = game:GetService("Workspace").CamoZone.RE
- GreenEvent:FireServer()
- local WhiteEvent = game:GetService("Workspace").WhiteZone.RE
- WhiteEvent:FireServer()
- local MagentaEvent = game:GetService("Workspace").MagentaZone.RE
- MagentaEvent:FireServer()
- end)
- CBlue.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Really blue")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CRed.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Really red")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CGreen.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Camo")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CBlack.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Black")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CPink.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Magenta")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CWhite.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("White")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CYellow.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("New Yeller")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CNil.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("nil")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = v
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CBlue2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Really blue")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CRed2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Really red")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CGreen2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Camo")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CBlack2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Black")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CPink2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("Magenta")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CWhite2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("White")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CYellow2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("New Yeller")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- CNil2.MouseButton1Down:connect(function()
- local BColor = BrickColor.new("nil")
- for _,v in next, game:GetService("Players"):GetChildren() do
- local A_1 = BColor
- local A_2 = game.Players[TextBox.Text]
- local Event = game:GetService("Workspace").ChangeTeam
- Event:FireServer(A_1, A_2)
- end
- end)
- Next.MouseButton1Down:connect(function()
- Next.Visible = false
- ChangeText.Visible = false
- CGreen.Visible = false
- CRed.Visible = false
- CYellow.Visible = false
- CBlack.Visible = false
- CBlue.Visible = false
- CPink.Visible = false
- CWhite.Visible = false
- CNil.Visible = false
- CGreen2.Visible = true
- CRed2.Visible = true
- CYellow2.Visible = true
- CBlack2.Visible = true
- CBlue2.Visible = true
- CPink2.Visible = true
- CWhite2.Visible = true
- CNil2.Visible = true
- Back.Visible = true
- Change2Text.Visible = true
- TextBox.Visible = true
- end)
- Back.MouseButton1Down:connect(function()
- Next.Visible = true
- ChangeText.Visible = true
- CGreen.Visible = true
- CRed.Visible = true
- CYellow.Visible = true
- CBlack.Visible = true
- CBlue.Visible = true
- CPink.Visible = true
- CWhite.Visible = true
- CNil.Visible = true
- CGreen2.Visible = false
- CRed2.Visible = false
- CYellow2.Visible = false
- CBlack2.Visible = false
- CBlue2.Visible = false
- CPink2.Visible = false
- CWhite2.Visible = false
- CNil2.Visible = false
- Back.Visible = false
- TextBox.Visible = false
- Change2Text.Visible = false
- end)
- ImageButton.MouseButton1Down:connect(function()
- ImageButton.Visible = false
- Frame.Visible = true
- ImageButton2.Visible = true
- end)
- ImageButton2.MouseButton1Down:connect(function()
- ImageButton2.Visible = false
- Frame.Visible = false
- ImageButton.Visible = true
- end)
- end
- CreateGui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement