I have
elseif m == "/cmds" then
PRAW(p,"_/[Administrator Commands]\_")
PRAW(p,"/kick [PLAYERNAME]")
elseif m:sub(1,6):lower() == "/kick " then
if p.UserId == 261477936 then
if m:lower() == "/kick" then
PRAW(p,"Usage /kick [PLAYERNAME]")
elseif m:lower() == "/kick" then
PRAW(p,"Usage /kick [PLAYERNAME]")
elseif m:sub(7) == "" then
PRAW(p,"Usage /kick [PLAYERNAME]")
else
local PlayerToBeKicked = m:sub(7)
for i, l in pairs(game.Players:GetPlayers()) do
if m:sub(7) == not l.Name then
print("Player Dosen't Exist.")
PRAW(p,"Player "..m:sub(7).." Does Not Exist.")
elseif l.Name == m:sub(7) then
print("Player Exists.")
game.Players:WaitForChild(PlayerToBeKicked):Kick("An Administrator Has Kicked You.")
end
end
end
end
as a kick code in my custom chat i can kick the player but it dosent respond with player doesnt exist or appear in the messages.
ENTIRE CODE DELETED FOR PRIVACY

3 comments
what does PRAW mean?
btw can you paste the WHOLE code so I might be able to handle it better
PRAW is what i use to invoke the players side of the chat