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

How to make welded parts rotate?

Asked by 8 years ago

So I've made this creature, it's like a roblox character expect 3 times bigger, I've welded together the parts to the torso, and when I try to make its arms, legs rotate, they instead teleport.

sp = script.Parent
sp.RightLeg.Weld.C1 = sp.RightLeg.Weld.C1 * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)

I've also tried

sp.RightLeg.Weld.C1 = sp.RightLeg.Weld.C1 * CFrame.Angles(0,math.rad(90),0)

The C1 is the RightLeg part, but everytime I run this script the leg teleports away.

0
C1 is not the right leg part. C1 is just how far away from the actual CFrame in a weld. iiOmqItzSogoii 0 — 6y

Answer this question