Hi, so my weapon is connecting to the torso character incorrectly. Instead of it attaching to the torso, it floats to the left of my character.
Tutorial I was using: https://devforum.roblox.com/t/how-to-animate-tool-parts-guns-knifes-etc/359484
Server Motor6D script
game.ReplicatedStorage.ChangeMotor6D.OnServerEvent:Connect(function(plr, todowithit, weapon)
--plr.Character.Torso
if todowithit == false then
plr.Character.Torso.Motor6D:Destroy()
else
local motor6d = Instance.new("Motor6D", plr.Character.Torso)
end
end)
Client Motor6D script
game.ReplicatedStorage.ChangeMotor6D:FireServer(true, tool)
local motor6d = player.Character.Torso:WaitForChild("Motor6D")
motor6d.Name = "WeaponAttach"
motor6d.Part0 = player.Character.Torso
motor6d.Part1 = tool.BodyAttach
