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
task.wait(0.0001)
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 = Vector3.new(3.5,3.5,3.5)
LeftHand.Size = Vector3.new(3.5,3.5,3.5)
end
end
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.