function Registry.RegisterCommand(e,c,g,Z)local E=require(c)if g then E.Run=require(g)end if Z and not Z(E)then return end e:RegisterCommandObject(E)c.Parent=e.Cmdr.ReplicatedRoot.Commands end

function Registry:RegisterCommand (commandScript, commandServerScript, filter)
	local commandObject = require(commandScript)

	if commandServerScript then
		commandObject.Run = require(commandServerScript)
	end

	if filter and not filter(commandObject) then
		return
	end

	self:RegisterCommandObject(commandObject)

	commandScript.Parent = self.Cmdr.ReplicatedRoot.Commands
end
