Skip to content

Commit

Permalink
Update Admins.luau
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkerOfBacon authored Nov 29, 2024
1 parent 25a46a2 commit e80b3ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MainModule/Server/Commands/Admins.luau
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,8 @@ return function(Vargs, env)
Description = "Make a new team with the specified name and color";
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
local teamName = assert(args[1]:gsub(`"`, ""), "Missing team name (argument #1)")
local teamName = assert(args[1], "Missing team name (argument #1)")
local teamColor = Functions.ParseBrickColor(args[2])

service.New("Team", {
Parent = service.Teams;
Name = teamName;
Expand Down Expand Up @@ -1440,7 +1439,7 @@ return function(Vargs, env)
for _, v in service.Players:GetPlayers() do
Remote.RemoveGui(v, "Message")
Remote.MakeGui(v, "Message", {
Title = args[1]:gsub(`"`, "");
Title = args[1];
Message = args[2];
Time = (#tostring(args[1]) / 19) + 2.5;
--service.Filter(args[1],plr, v);
Expand Down

0 comments on commit e80b3ba

Please sign in to comment.