Well, the best way to do this is use DataStores, if using it In-Game, but if you want to do something where you go into roblox studio and manually edit it, thena server script. i think you could do a local script to, i will list that as well.
ServerScript:
1 | function playeradded(player) |
3 | if player.Name = = { "namehere" , "namehere" } then |
4 | player.Character:Destroy() |
local script:
1 | local player = script.Parent.Parent |
3 | if player.Name = = { "namehere" , "namehere" } then |
4 | player.Character:Destroy() |
now, it gets complicated. Assuming you would be using the chat service, this is where we get into stringvalues in scripts and datastores, and the onchatted function. But that, is very complex, and whn i write a program in my test place, i'll move it over to another place so you can use it.