Part clipping through Motor6d?

I don’t know much about Motor6d, so I’m kinda struggling here. I’m making a snowboarding game and the part where the player’s right foot is welded onto the board isn’t working. Instead of being welded onto the board, the part is clipping through the board. I’ve tried making a new CFrame value with motor6d2.C0 = CFrame.new(0,5,0) but no matter what I change the value to the weld doesn’t move at all.

Here’s my script:

local Snowboard = script.Parent
local Board = Snowboard.SnowBoard.Board
local Bindings = Snowboard.SnowBoard.Bindings
local Handle = Snowboard.Handle
local Animations = Snowboard:WaitForChild('Animations')

local Player = game.Players.LocalPlayer

local Character = Player.Character
local Humanoid = Character:WaitForChild('Humanoid')
local Animator = Humanoid:WaitForChild('Animator')

local StanceAnim = Animator:LoadAnimation(Animations.RegStance)

local UIS = game:GetService("UserInputService")
local toggle = false
local debounce = os.clock()

local function ChangeSatus(input, gpe)
	if gpe or (os.clock() - debounce) < 1 then return end
	
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		if toggle == false then
			
			local motor6d = Instance.new("Motor6D")

			motor6d.Parent = Character["LeftFoot"]
			motor6d.Part0 = Character["LeftFoot"]
			motor6d.Part1 = Bindings.LeftB

			
			local motor6d2 = Instance.new("Motor6D")
			
			motor6d2.Parent = Character["RightFoot"]
			motor6d2.Part0 = Character["RightFoot"]
			motor6d2.Part1 = Bindings.RightB


			local Handlegrip = Character["RightHand"]:FindFirstChild("RightGrip")
			Handlegrip.Enabled = false

			StanceAnim:Play()

			print("It's Pow day!")
			
			toggle = true
		else
			
			local motor6d = Character["LeftFoot"]:FindFirstChild("Motor6D")
			if motor6d then
				motor6d:Destroy()
				StanceAnim:Stop()
				

				local Handlegrip = Character["RightHand"]:FindFirstChild("RightGrip")
				Handlegrip.Enabled = true
			end
			
			local motor6d2 = Character["RightFoot"]:FindFirstChild("Motor6D")
			if motor6d2 then
				motor6d2:Destroy()
			end
			
			print("Pow day over:(")
			
			toggle = false
		end
		
		debounce = os.clock()
	end
end


Snowboard.Unequipped:Connect(function()
	if Snowboard.Unequipped then

		local motor6d = Character["LeftFoot"]:FindFirstChild("Motor6D")
		if motor6d then
			motor6d:Destroy()
			StanceAnim:Stop()
		end
		
		local motor6d2 = Character["RightFoot"]:FindFirstChild("Motor6D")
		if motor6d2 then
			motor6d2:Destroy()
		end
		
		print("Pow day over:(")

		toggle = false

	end
end)

UIS.InputBegan:Connect(ChangeSatus)