I have a script that moves the player´s arm with their camera along the Y axis. It only works when I set the player animation IDs to 0. Otherwise nothing happens.
local cam = workspace.CurrentCamera
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local t = char:WaitForChild(¨Torso¨)
local arm = char:FindFirstChild(¨Right Shoulder¨, true)
local y = arm.C0
if arm then
arm.DesiredAngle = cam.CFrame.LookVector + 5
end
end)

8 comments
not sure this is the full code, right?
yes it is
forgot to add the end to it.. thats why it looked weird
could you show the full code? (animation)
cam.CFrame.LookVector + 5Roblox doesn't support adding a Vector3 by a scalar, only multiplication and divisionI just copied the default animation script in my character while testing the game and changed all the animation Ids to 0
I don't believe that this is the full code, please support what the camDirection variable is for please.
that was the full code.. also the camDirection was some leftover line that I forgot to remove