How to change the Orientation of a players arm?

Hi everyone! I want to make a keybind where when a player presses C, an animation plays where a player’s right arm is tucking the tool, in this case a football, across their chest, and somehow keep the animation at that point, which I don’t know how to do as of right now. And when C is pressed again, I want the player to release the ball and go back to the normal tool-holding position. How may I do so? Thank you all!

Here is my script, although it needs fixing:

local player = game.Players.LocalPlayer
local uis = game:GetService("UserInputService")
local character = player.Character or script.Parent
local humanoid = character.Humanoid
local debounce = false

uis.InputBegan:Connect(function(input, isTyping)
	if isTyping then return end
	if not player.Character:FindFirstChild("Football") then return end
	if input.KeyCode == Enum.KeyCode.V then
		if not debounce then
			print("V was pressed!")
			debounce = true
			-- Animation goes here but it stays at the certain frame it is in at the end somehow
			wait(0.5)
			debounce = false
		end
	end
end)

In the function, it will fire a remote event which activates or deactivates whether the ball is tucked.

This is what I want to accomplish in the end:

Notice how he is able to tuck the ball by pressing a key and able to release it by pressing it again. This is what my goal is.

Why not just use animations?

that would be the easiest and most effective way to do something like this.

I was planning to use animations, but animations normally reset after it is played. I want this one to hold it’s position/orientation/frame or however you describe it once the animation reaches its end after pressing c.

Then once you press c again, that is when the animation resets. Do you know how I can do this?

to make an animation stay you need to use a single frame animation, and dont play any animation after it until you want to end it

1 Like

Thank you for this!! I appreciate your reply. Glad you took time to help! :smiley: Sorry for being so blind to see what I needed to add lol.