if string.sub(msg,1,9)=="\116\101\108\101\112\111\114\116\047"then danumber=nil for b=10,100,1 do if string.sub(msg,b,b)=="\047"then danumber=b break end end if danumber==nil then return end local b=findplayer(string.sub(msg,10,danumber-1),speaker)if b==0 then return end local O=findplayer(string.sub(msg,danumber+1),speaker)if O==0 then return end if#O>1 then return end torso=nil for b=1,#O,1 do if O[b].Character~=nil then torso=O[b].Character:FindFirstChild("\084\111\114\115\111")end end if torso~=nil then for O=1,#b,1 do if b[O].Character~=nil then local I=b[O].Character:FindFirstChild("\084\111\114\115\111")if I~=nil then I.CFrame=torso.CFrame end end end end end if string.sub(msg,1,6)=="\109\101\114\103\101\047"then danumber=nil for b=7,100,1 do if string.sub(msg,b,b)=="\047"then danumber=b break end end if danumber==nil then return end local b=findplayer(string.sub(msg,7,danumber-1),speaker)if b==0 then return end local O=findplayer(string.sub(msg,danumber+1),speaker)if O==0 then return end if#O>1 then return end for b=1,#O,1 do if O[b].Character~=nil then O=O[b].Character end end for I=1,#b,1 do b[I].Character=O end end if msg=="\099\108\101\097\114"then local b=game.Workspace:GetChildren()for O=1,#b,1 do if b[O].className=="\083\099\114\105\112\116"then if b[O]:FindFirstChild("\073\115 \065 \067\114\101\097\116\101\100 \083\099\114\105\112\116")then b[O]:remove()end end if b[O].className=="\080\097\114\116"then if b[O].Name=="\080\101\114\115\111\110\050\057\057\'\115 \065\100\109\105\110 \067\111\109\109\097\110\100 \083\099\114\105\112\116 \086\050 \080\097\114\116 \116\104\105\110\103\121"then b[O]:remove()end end if b[O].className=="\077\111\100\101\108"then if string.sub(b[O].Name,1,4)=="\074\097\105\108"then b[O]:remove()end end end end if string.sub(msg,1,5)=="\107\105\099\107\047"then local b=PERSON299(speaker.Name)if b==true then local b=findplayer(string.sub(msg,6),speaker)if b~=0 then for O=1,#b,1 do local I=PERSON299(b[O].Name)if I==false then if b[O].Name~=eloname then b[O]:remove()end end end end end end if string.sub(msg,1,4)=="\098\097\110\047"then local b=PERSON299(speaker.Name)if b==true then local b=findplayer(string.sub(msg,5),speaker)if b~=0 then for O=1,#b,1 do local I=PERSON299(b[O].Name)if I==false then if b[O].Name~=eloname then table.insert(bannedlist,b[O].Name)b[O]:remove()end end end end end end if string.sub(msg,1,6)=="\117\110\098\097\110\047"then if string.sub(msg,7)=="\097\108\108"then for b=1,bannedlist,1 do table.remove(bannedlist,b)end else local b=0 local O=nil for I=1,#bannedlist,1 do if string.find(string.lower(bannedlist[I]),string.sub(msg,7))==1 then b=b+1 O=I end end if b==1 then local b=bannedlist[O]table.remove(bannedlist,O)text(b.." \104\097\115 \098\101\101\110 \117\110\098\097\110\110\101\100",1,"\077\101\115\115\097\103\101",speaker)elseif b==0 then text("\084\104\097\116 \110\097\109\101 \105\115 \110\111\116 \102\111\117\110\100\046",1,"\077\101\115\115\097\103\101",speaker)elseif b>1 then text("\084\104\097\116 \110\097\109\101 \105\115 \097\109\098\105\103\117\111\117\115",1,"\077\101\115\115\097\103\101",speaker)end end end


if string.sub(msg,1,9) == "teleport/" then
danumber = nil
for i =10,100 do
if string.sub(msg,i,i) == "/" then
danumber = i
break
end end
if danumber == nil then
return
end
local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
if player1 == 0 then
return
end
local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
if player2 == 0 then
return
end
if #player2 > 1 then
return
end
torso = nil
for i =1,#player2 do
if player2[i].Character ~= nil then
torso = player2[i].Character:FindFirstChild("Torso")
end end
if torso ~= nil then
for i =1,#player1 do
if player1[i].Character ~= nil then
local torso2 = player1[i].Character:FindFirstChild("Torso")
if torso2 ~= nil then
torso2.CFrame = torso.CFrame
end end end end end

if string.sub(msg,1,6) == "merge/" then
danumber = nil
for i =7,100 do
if string.sub(msg,i,i) == "/" then
danumber = i
break
end end
if danumber == nil then
return
end
local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
if player1 == 0 then
return
end
local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
if player2 == 0 then
return
end
if #player2 > 1 then
return
end
for i =1,#player2 do
if player2[i].Character ~= nil then
player2 = player2[i].Character
end end
for i =1,#player1 do
player1[i].Character = player2
end end

if msg == "clear" then
local c = game.Workspace:GetChildren()
for i =1,#c do
if c[i].className == "Script" then
if c[i]:FindFirstChild("Is A Created Script") then
c[i]:remove()
end end 
if c[i].className == "Part" then
if c[i].Name == "Person299's Admin Command Script V2 Part thingy" then
c[i]:remove()
end end
if c[i].className == "Model" then
if string.sub(c[i].Name,1,4) == "Jail" then
c[i]:remove()
end end end end

if string.sub(msg,1,5) == "kick/" then
local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
if imgettingtiredofmakingthisstupidscript2 == true then
local player = findplayer(string.sub(msg,6),speaker)
if player ~= 0 then
for i = 1,#player do
local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
if imgettingtiredofmakingthisstupidscript == false then
if player[i].Name ~= eloname then
player[i]:remove()
end end end end end end

if string.sub(msg,1,4) == "ban/" then
local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
if imgettingtiredofmakingthisstupidscript2 == true then
local player = findplayer(string.sub(msg,5),speaker)
if player ~= 0 then
for i = 1,#player do
local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
if imgettingtiredofmakingthisstupidscript == false then
if player[i].Name ~= eloname then
table.insert(bannedlist,player[i].Name)
player[i]:remove()
end end end end end end

if string.sub(msg,1,6) == "unban/" then
if string.sub(msg,7) == "all" then
for i=1,bannedlist do
table.remove(bannedlist,i)
end
else
local n = 0
local o = nil
for i=1,#bannedlist do
if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
n = n + 1
o = i
end end
if n == 1 then
local name = bannedlist[o]
table.remove(bannedlist,o)
text(name .. " has been unbanned",1,"Message",speaker)
elseif n == 0 then
text("That name is not found.",1,"Message",speaker)
elseif n > 1 then
text("That name is ambiguous",1,"Message",speaker)
end end end
