So I've made some monster with 6 legs and i'm trying to make the legs move but they won't i'm trying to rotate a sphere that will rotate the rest of the leg and for what ever reason it's just not working I've done this before with something really similar which works perfectly fine, this is stressing me out.

The leg is a model made of 4 parts and the leg is inside the monster the Sphere is welded to the monsters body.

I made a script that creates a weld for each part to connect to the next part in the leg.

I've also tried using a motor6d which didn't work either.

this is what's suppose to rotate it.

local frontleftleg = script.Parent:WaitForChild("FrontLeftLeg")
for i = 1,10 do
	frontleftleg.FrontHinge.weldo.C0 = frontleftleg.FrontHinge.weldo.C0*CFrame.Angles(0,0,0.1)
	wait(0.1)
end

for i = 1,10 do
	frontleftleg.FrontHinge.weldo.C0 =frontleftleg.FrontHinge.weldo.C0*CFrame.Angles(0,0,-0.1)
	wait(0.1)
end

5 comments

0

It wouldn't let me make the most unless I put my title is specific in it.

0

You could of put it in a lua code before posting

0

Bad title.

0

I tried doing a bunch of different titles nothing would work and I didn't know how to do that but thanks.

0

Is there an error.