local V=game:GetService("\080\108\097\121\101\114\115")local N=require(script.Parent.Parent:WaitForChild("\103\101\110\101\114\097\116\101\086\097\108\105\100\097\116\101"))local q=require(script.Parent.Parent:WaitForChild("\115\097\110\105\116\105\122\101\080\108\097\121\101\114"))local function E(N,E)local I={}for V,N in V:GetPlayers()do N=q(E,N)if N then table.insert(I,N)end end return#I>0 and I,"\078\111 \118\097\108\105\100 \112\108\097\121\101\114 \102\111\117\110\100"end local I={listable=true;transform=string.lower,validate=N(E),parse=E}return function(V)V.Registry.registerType("\097\108\108\080\108\097\121\101\114\115",I)end
local Players = game:GetService("Players")

local generateValidate = require(script.Parent.Parent:WaitForChild("generateValidate"))
local sanitizePlayer = require(script.Parent.Parent:WaitForChild("sanitizePlayer"))

local function allParse(arg, self)
	local players = {}
	for _, player in Players:GetPlayers() do
		player = sanitizePlayer(self, player)
		if player then
			table.insert(players, player)
		end
	end
	return #players > 0 and players, "No valid player found"
end

local typeEveryone = {
	listable = true,
	transform = string.lower,
	validate = generateValidate(allParse),
	parse = allParse,
}

return function(_K)
	_K.Registry.registerType("allPlayers", typeEveryone)
end
