How to change players arm size and orientation

So i made a script where if you press a certain key your arm grows and rotates into such a play and its locked until you press the key again.

image

But the script i use the arm is scaled but the orientation doesn’t work.

So the help i want is how do i make so the arm looks that in picture and doesn’t move or swing around in that size. Plus how do i make it go back to the normal way and usual way by clicking the same key.

Here is the script :


KeyDownEvent.OnServerEvent:Connect(function(player)
	local Rarm = player.Character["Right Arm"]
	Rarm.Size  = Vector3.new(1, 6.233, 1)
	Rarm.Orientation = Vector3.new(90,180,0)
end)

Orientation is reset back to normal every frame (due to joints), you’ll need to set the arm’s orientation in a loop.

How do i set it in a loop? Do i need to add a loop?

while task.wait() do
	--Code.
end

Add a break statement if some condition occurs too.