Welding Without Changing the Orientation (PLEASE HELP!)

I am trying to create a range circle effect, but due to tweening, it rotates with the character. Suppose I try to weld the range circle to the character. Even with some loop, it will still glitch because of a tween I have in place.

With no loop:

With a loop:

Basic Code:

RunService.Heartbeat:Connect(function()

	local m = cFrame.Position - oldCFrame.Position -- magnitude (as a 
	local angle = CFrame.Angles(math.rad(m.Z*sway),math.rad(rotation),math.rad(-m.X*sway))
	cFrame *= angle

	game:GetService("TweenService"):Create(towerToSpawn.PrimaryPart,tweenInfo,{CFrame = cFrame}):Play() -- THIS TWEEN IS THE ISSUE!

end)

PLEASE HELP!

2 Likes

Please could you post some more code, struggling to get the full picture.

1 Like