Good evening,
I am currently creating an admin system, and I would like some guidance on where to go from if msg:lower() == Prefix.."kick ". Specifically, I would like to know how to make the kick command work on other players.
if p.AdminLevel.AdminValue.Value == "Moderator" or p.Admin.AdminValue.Value == "Administrator" or p.Admin.AdminValue.Value == "Super Administrator" or p.Admin.AdminValue.Value == "Owner" or p.Admin.AdminValue.Value == "Game Creator" then
p.Chatted:Connect(function(msg)
if msg:lower() == Prefix.."kick "
end)
end
end)

3 comments
So you can't kick other players, just yourself right?
I know how to make it kick myself, but what I need help with is to make the command be able to kick other players (e.g. :kick (playername))
Okay. I will try to figure it out, give me a minute.