Basepart's Weld Not Following Animation

Hey! I want to make the part attatched to the basepart to move with the basepart when an animation plays instead of staying in the same position I want it to move with the character

  1. What is the issue?
    What I want to achieve(https://gyazo.com/8b5366d97b96379b8d924f3e7ca950cd)
    What I currently have(https://gyazo.com/a1d1c2e4ece97da3323e374c344ffce5) As you can see the weapon on the players back will not flip with the character

code that handles the Weapon on the back

function ToolHandler.BackBling(Weapon, HumanoidRoot, player, Equipped)
	print(Weapon.Name)
	local isBackBling = Instance.new("StringValue")
	local WeaponInReplicatedStorage = ReplicatedStorage.Weapons:FindFirstChild(Weapon.Name):Clone()
	WeaponInReplicatedStorage.Parent = player.Character.HumanoidRootPart
	WeaponInReplicatedStorage.CFrame = HumanoidRoot.CFrame
	isBackBling.Name = "isBackBling"
	isBackBling.Parent = WeaponInReplicatedStorage
	local BackBlingWeld = Instance.new("Weld")
	BackBlingWeld.Part0 = HumanoidRoot
	BackBlingWeld.Part1 = WeaponInReplicatedStorage
	BackBlingWeld.Parent = WeaponInReplicatedStorage
	
	if Weapon.Name == "Heavy Buster" then
		BackBlingWeld.C1 = CFrame.new(0, 0, -.6) * CFrame.Angles(0, 0, math.rad(-120))
	end
end

1 Like

Hey! You need to weld it to the Torso, and not the HumanoidRootPart, since the humanoidrootpart have no animations whatsoever!

1 Like

Thank you so much this helped fixed my problem

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.