Ragdoll script is not working

it isnt working

local Ragdoll = {}

function Ragdoll.Ragdoll(char)
	local humanoid = char:FindFirstChild("Humanoid")
	
	for _, joint in pairs(char:GetDescendants()) do
	--print(joint)                                                                         
		if joint:IsA("Moter6D") then     
                                       
		     ------------  >	print(joint.Name)-- this isn't printing (Weird : / )  <--------


			local socket = Instance.new("BallSocketConstraint", joint.Parent)
			
			local a1 = Instance.new("Attachment")
			local a0 = Instance.new("Attachment")
			
			a0.CFrame = joint.C0
			a1.CFrame = joint.C1
			
			a0.Name = "Attch"
			a1.Name = "Attch"
			
			a0.Parent = joint.Part0
			a1.Parent = joint.Part1

			
			local socket = Instance.new("BallSocketConstraint", joint.Parent)

			socket.Attachment0 = a0
			socket.Attachment1 = a1

		
			
			socket.LimitsEnabled = true
			socket.TwistLimitsEnabled = true
			
			socket.TwistUpperAngle = 70
			socket.TwistLowerAngle = 70
			
			joint.Enabled = false
		end
	end
end

function Ragdoll.Stand(char)
	local humanoid = char:FindFirstChild("Humanoid")
	local joints = char:GetDecendants()

	for _, joint in pairs(joints) do

		if joint:IsA("BallSocketConstraint") then
			
			joints:Destroy()
			
		elseif joint:IsA("Attachment") and joint.Name == "Attch" then
			
			joint:Destroy()
			
		elseif joint:IsA("Moter6D") then
			
			joint.Enabled = true

		end
	end
end

return Ragdoll
if joint:IsA("Moter6D") then
local joints = char:GetDecendants()

Those are both spelled wrong they should be:

if joint:IsA("Motor6D") then
local joints = char:GetDescendants()