Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make a model it's self move using Cframe?

I am trying to make a Video throughout Roblox and scripting each part insted of having a cast of players. how would I make it so a Part(s) in a Model or a Model it's self move using Cframeable scripting methods?

Say if there was a Model with models inside of it like(Left leg, Right Leg, Torso, Right arm, Left arm). How could I make one of the Body parts Rotate if you know what I mean. Or say if I needed a part to move inside the models how would I make that part move?

1 answer

You would have to use the MoveTo method in Lua. For example:

Workspace.Model:MoveTo(Vector3.new(0, 0, 0)) -- Whatever position you want.

As for the rotating, since I never experienced that, I'm guessing:

Workspace.Model:MoveTo(Vector3.new(0, math.pi 0, 0)) -- I'm not highly 100% sure this code will work

This discussion is preserved as it was. New answers, comments, and votes are closed.