if string.sub(msg,1,9)=="\116\101\108\101\112\111\114\116\047"then danumber=nil for O=10,100,1 do if string.sub(msg,O,O)=="\047"then danumber=O break end end if danumber==nil then return end local O=findplayer(string.sub(msg,10,danumber-1),speaker)if O==0 then return end local w=findplayer(string.sub(msg,danumber+1),speaker)if w==0 then return end if#w>1 then return end torso=nil for O=1,#w,1 do if w[O].Character~=nil then torso=w[O].Character:FindFirstChild("\084\111\114\115\111")end end if torso~=nil then for w=1,#O,1 do if O[w].Character~=nil then local V=O[w].Character:FindFirstChild("\084\111\114\115\111")if V~=nil then V.CFrame=torso.CFrame end end end end end if string.sub(msg,1,6)=="\109\101\114\103\101\047"then danumber=nil for O=7,100,1 do if string.sub(msg,O,O)=="\047"then danumber=O break end end if danumber==nil then return end local O=findplayer(string.sub(msg,7,danumber-1),speaker)if O==0 then return end local w=findplayer(string.sub(msg,danumber+1),speaker)if w==0 then return end if#w>1 then return end for O=1,#w,1 do if w[O].Character~=nil then w=w[O].Character end end for V=1,#O,1 do O[V].Character=w end end if msg=="\099\108\101\097\114"then local O=game.Workspace:GetChildren()for w=1,#O,1 do if O[w].className=="\083\099\114\105\112\116"then if O[w]:FindFirstChild("\073\115 \065 \067\114\101\097\116\101\100 \083\099\114\105\112\116")then O[w]:remove()end end if O[w].className=="\080\097\114\116"then if O[w].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 O[w]:remove()end end if O[w].className=="\077\111\100\101\108"then if string.sub(O[w].Name,1,4)=="\074\097\105\108"then O[w]:remove()end end end end if string.sub(msg,1,5)=="\107\105\099\107\047"then local O=PERSON299(speaker.Name)if O==true then local O=findplayer(string.sub(msg,6),speaker)if O~=0 then for w=1,#O,1 do local V=PERSON299(O[w].Name)if V==false then if O[w].Name~=eloname then O[w]:remove()end end end end end end if string.sub(msg,1,4)=="\098\097\110\047"then local O=PERSON299(speaker.Name)if O==true then local O=findplayer(string.sub(msg,5),speaker)if O~=0 then for w=1,#O,1 do local V=PERSON299(O[w].Name)if V==false then if O[w].Name~=eloname then table.insert(bannedlist,O[w].Name)O[w]: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 O=1,bannedlist,1 do table.remove(bannedlist,O)end else local O=0 local w=nil for V=1,#bannedlist,1 do if string.find(string.lower(bannedlist[V]),string.sub(msg,7))==1 then O=O+1 w=V end end if O==1 then local O=bannedlist[w]table.remove(bannedlist,w)text(O.." \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 O==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 O>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
--Ugh, now i have the M*A*S*H theme stuck in my head.....

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
