Lerping the right upper arm

just moving the upper arm (which automatically moves the lower segments) up and down, so i get a stupid looking sword swing animation.
please provide a code example

3 Likes

I’d like you to provide a bit more information. It seams that you want to create an animation, right? Don’t actually understand what code example you want.

1 Like

i want to know how to move the right upper shoulder reach to the sky and then go back down.

1 Like

you can just use a normal animation

1 Like

no i cant actually, if i could i would

1 Like

why cant you? is there some sort of curse preventing a animation from being played?

1 Like

no its because im banned… you prob know why

1 Like

damn you actually did lol, how long?

1 Like

why didnt you tell me sooner in dm… i thought you wanted orientation
this can be done without lerping

local character = pathtocharacter
local cframe = character.RightUpperArm.CFrame
local oldcframe = cframe
local waitTime = 1 --how long it stays in the air
local studs = 100 --how high the arm goes in studs

function moveArm()
   local count = studs
   repeat count -= 1 cframe += cframe.UpVector until count == 0
   task.wait(waitTime)
   count = studs
   repeat count -= 1 cframe += -cframe.UpVector until count == 0
end

--coroutine.wrap(moveArm)() to call it
1 Like

i aint gonna telll you… muhahahah but its kinda long actually

1 Like

no i want it to urientate bruh. i dont want the arm to detachj

1 Like