Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Change a position of a instanced part that is welded to a players arm, while an anim is playing?

Asked by 6 years ago

So Im having trouble with this, I tried to create a script that moves the position of a cloned instanced part which is welded to the player rightupperarm while an animations is playing, I tried to Vector3 the position of it, but whenever I tried to do it the instanced part just follows the position and rotation of the rightupperarm, I really need help with this, thank you to anyone who helps me!

1 answer

Log in to vote
0
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
6 years ago
Edited 6 years ago

You have to manipulate the C0 and C1 Properties of the weld.

e.g.

weld.C0 = weld.C0 * CFrame.Angles(math.rad(90),0,0)
0
^would rotate weld 90 degrees on the x axis Goulstem 8144 — 6y
Ad

Answer this question