The last time I asked this question, nobody gave me the answer I was asking for. I took a look at an admin script with the command :Crash in it but all the code there didn't make sense. But it worked. I want to crash a non-tbc/non-obc player. I don't want to kick them, but I literally want for roblox to open up a window saying There was an error. We have to quit.. How could I possibly make this happen? Here is the admin command script I looked at:
if msg:lower():sub(1,6) == "crash " then
local plrz = GetPlr(plr, msg:lower():sub(7))
for i, v in pairs(plrz) do
coroutine.resume(coroutine.create(function()
if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
end
end))
end
end
I saw that it has something to do with a script editing a code. I'm also confused why you have to put [[CodeHere]] when your editing a code. Can someone specify this script to me and what it does? I can do the non-tbc/non-obc script. Thanks for reading!

1 comment
Why would you want to crash somebody? Why not kick them?