Part Exceeding Value Limit

I need help with my script, it is supposed to stop the arms from growing more than the string values limit (3.5) but instead the string value goes higher and the arms grow more than it should.

--while true do
	local LeftHand = player.Character:WaitForChild("LeftHand") 
	local RightHand = player.Character:WaitForChild("RightHand") 
	if Right.Value > 3.5 or Left.Value > 3.5 then
		RightHand.Size =,3.5,3.5)
		LeftHand.Size =,3.5,3.5)

Any articles/ help is greatly appreciated!

Thank you!

Rather then continuing to change the size value why don’t you just break the while true do loop? The current way your doing it is super un-efficient tbh.

Or you could just pause the loop via using coroutine.

Thank you for the response,

How can I break a seperate while true do as the size changing is a different loop.

I don’t understand what your asking really? If there are two different loops then just break the one loop not both the loops?

Oh ok, thank you very much for the responses!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.