server=nil service=nil return function()for R,l in pairs(server.Commands)do if l.AdminLevel then local R=false for a,M in pairs(l.Commands)do if permissions[M]then R=true l.AdminLevel=permissions[M]end end if not R then l.AdminLevel=defaultLevel end end end end
-- Don't edit anything below unless you know what you are doing.
server = nil
service = nil
return function()
	for _, command in pairs(server.Commands) do
		if command.AdminLevel then
			local changed = false
			for _, actualCommandName in pairs(command.Commands) do
				if permissions[actualCommandName] then
					changed = true
					command.AdminLevel = permissions[actualCommandName]
				end
			end
			if not changed then
				command.AdminLevel = defaultLevel
			end
		end
	end
end
