--


local humanoidControl = {};
local humanoidControl_mt = {__index = humanoidControl};

function humanoidControl.new(player)
	local self = {};
	
	self.character = player.Character;
	self.humanoid = self.character:WaitForChild("Humanoid");
	self.hrp = self.character:WaitForChild("HumanoidRootPart");
	
	self._lockedMoveVector = self.humanoid.MoveDirection;
	self._forcedMoveVector = self.humanoid.MoveDirection;
	self._mode = Enum.HumanoidControlType.Default;
	
	return setmetatable(self, humanoidControl_mt);
end
