How do i make the arms stop moving

my code:

function m:idle(item, char)
	wave = wave + 1
	char["Torso"]["Right Shoulder"].C0 = utils.lerp(char["Torso"]["Right Shoulder"].C0, char["Torso"]["Right Shoulder"].C0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)), 0.20)
	if wave == 10 then
		wave = 0
		self.Players[char.Name] = "nothing"	
	end
end

Wouldn’t it be better to use animations or did you mean to make it this way?

Yes it would be better, but this script is going across multiple games so I do mean to make it this way.

1 Like