I want it where the parts face where my mouse is constantly in the in pairs loop, but instead, the parts would always face where my first mouse position was. How do I fix this problem? Also, sorry if the explanation is bad.

for i,v in pairs(gomuArms)do
		wait(0.1)	
		v.Parent = character
		v.Anchored = true
		v.CFrame = CFrame.new(character.HumanoidRootPart.Position, hit.Position)
		v.CFrame = v.CFrame * CFrame.Angles(0,math.rad(-90),0)
		v.CFrame = v.CFrame * CFrame.new(math.random(-500,0)/100,math.random(0,500)/100,math.random(-500,500)/100)
	end

1 comment

0

Try a while wait() do loop