How to make part follow attachment

how do you make the part/gunpart follow the attachment without staying still

here’s the code and a video

local function spawnguns()
	for i = 1, 10 do
		local sound = realattachment.select
		sound:Play()
		local gun = guns[i % #guns + 1]
		local clone = gun:Clone()
		clone.Parent = realattachment
		clone.CFrame = realattachment.WorldCFrame
		wait(0.2)
		clone:Destroy()
	end
end
1 Like