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

How do I make an animated door?

I've always been curious about how to animate parts in roblox, but I never found out anything... Can I have some pointers and tips please? At least how to make something simple like a door! :)

1 comment

0

Why am I being down voted... Am I supposed to ask it a specific way that I don't know about, or what...

1 answer

✓ Accepted answer

In order to accomplish something like this, we need to use CFrame, and rotating.

Here is a basic cframing script that would move an object 10 times:

part = game.Workspace["'Brick"]
for i = 1, 10 do
part.CFrame = CFrame.new(part.CFrame.X, part.CFrame.Y + 1, part.CFrame.Z)
end

######Note: I am on my school computer and unable to go to wiki.roblox.com to confirm this, I am just going off of what I believe to be true. I recommend going to the wiki and searching for examples of CFraming.


###Using CFrames and updating it's position and rotation you can give a brick, or a model, the imitation of an "animation."

All it will take is practice.

4 comments

0

Thanks :)

0

Appreciate the help

0

Im on a school computer too lol

0

How are you changing the size of the text?

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