I want to remove, permBan and permRank commands from, HeadAdmin and Owner permissions. But I don’t know, how to. I have tried to, blacklist the commands but nope.
I would be, very glad If you can help me out…
instead of doing that, make it where when the player chats “:permBan (playername)” then it will kick them, same thing with “:ban (playername)”
also why do you need to give them owner admin?
I see you are using HD Admin for your place, there is currently no way to remove the commands fully I think. You can set the command permission to owner so only the place owner can use the command. Otherwise you would have to remove the commands in the main module.
How to???
Here’s a little tutorial to get you started
Can you, also teach me how to, remove change command? so they cannot, change their stats…
hmmm you would want to do something like this, i dont use chat alot so i dont know about finding the players name but here is this.
local msg = ":permban"
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(m)
if m == msg then
player:Kick()
end
end)
end)
Also i recommend removing, ;Forceplace and ;place, These commands can let people tp people to their own game for visits, harming your visits
Where to put It? And will It, disable actual thing that permBan can do?
it will kick them if they say “:permban” it will be in server script service, test it out yourself
Cannot I do It on, change command too? I will change change to, respawn…
yes, you can change the command, just duplicate that part of the script, change msg variable to msg2 and change the text, and the m parameter to m2 and check if m2 == msg2 then.
respawn would still execute the command, i said kick because it will kick them before the command is executed (hopefully)
I putted that script, In ServerScriptService but It dosen’t works… /
local msg = “:permban”
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(m)
if m == msg then
player:Kick()
end
end)
end)
you said “:permban” right? no quotations
Yeah…
hmmm let me test it out, also is it a local script or a normal script?
(30 characters)
Local script…
okay, thats why its not working, change it to a server script/ normal script
I also, tried that… but nope.
Oh, devforum symbols are different then normal studio ones, rewrite the msg to be a string inside these “”
edit: script works for me, when i say permban it kicks me