Question on NPCs

Hello Developers! I have a question on NPCs, it is: "Can NPCs run commands like of Basic Admin Essentials? If so how? like this: NPC says “kick (user)” and it works.

1 Like

What do you mean by NPC’s running commands like of BAE, I don’t understand that part at all

1 Like

I mean a NPC does: “kick (user)” and it works.

BAE is Basic Admin Essentials.

I’m pretty sure it’s possible, but I can’t say much as I don’t script

1 Like

It is not possible as the NPC cannot input anything. However you can just use a script to kick players and whatever functions you want in ServerScripts

1 Like

You can easily write a script to make an npc say something then kick the player.

game.Chat:Chat(game.Workspace.(npcname).Head, ":kick (playername) TEST"
game.Players.(playername):Kick("TEST")

I don’t know how you’d get the playername, it depends on the circumstances. But it’s possible.

1 Like