Run it
Copy the script and paste it into your executor.
-- LocalScript inside StarterPlayerScripts
Players = :()
Teams = :()
UserInputService = :()
Player = Players.LocalPlayer
PlayerGui = Player:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = PlayerGui
Frame = .()
Frame.Size = .(, , , )
Frame.Position = .(, -, , -)
Frame.BackgroundColor3 = .(, , )
Frame.BorderSizePixel =
Frame.Parent = ScreenGui
Title = .()
Title.Size = .(, , , )
Title.Position = .(, , , )
Title.BackgroundColor3 = .(, , )
Title.Text =
Title.TextColor3 = .(, , )
Title.Font = .Font.SourceSansBold
Title.TextSize =
Title.Parent = Frame
dragging =
dragInput, mousePos, framePos
Title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
mousePos = input.Position
framePos = Frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
Title.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - mousePos
Frame.Position = .(framePos.X.Scale, framePos.X.Offset + delta.X, framePos.Y.Scale, framePos.Y.Offset + delta.Y)
)
TextBox = .()
TextBox.Size = .(, , , )
TextBox.Position = .(, -, , )
TextBox.PlaceholderText =
TextBox.Text =
TextBox.BackgroundColor3 = .(, , )
TextBox.TextColor3 = .(, , )
TextBox.Font = .Font.SourceSans
TextBox.TextSize =
TextBox.Parent = Frame
Button = .()
Button.Size = .(, , , )
Button.Position = .(, -, , )
Button.BackgroundColor3 = .(, , )
Button.TextColor3 = .(, , )
Button.Font = .Font.SourceSansBold
Button.TextSize =
Button.Text =
Button.Parent = Frame
Button.MouseButton1Click:(()
teamName = TextBox.Text
teamName ==
existingTeam = Teams:(teamName)
existingTeam
Player.Team = existingTeam
newTeam = .()
newTeam.Name = teamName
newTeam.TeamColor = BrickColor.()
newTeam.Parent = Teams
Player.Team = newTeam
)Its c00l

Universal