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

My weldC0 CFrame script isn't working, could some one please help? MY TITLE IS SPECIFIC.

Asked by 5 years ago
Edited by evaera 5 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

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
0
It wouldn't let me make the most unless I put my title is specific in it. TheNextEvolution 0 — 5y
0
You could of put it in a lua code before posting seith14 206 — 5y
0
Bad title. evaera 8028 — 5y
0
I tried doing a bunch of different titles nothing would work and I didn't know how to do that but thanks. TheNextEvolution 0 — 5y
0
Is there an error. Loeganne 0 — 5y

Answer this question