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

How to make a door model move?

Asked by
Zikelah 20
5 years ago

I have been trying with the code I have to make a door model move. Here is the code:

wait(4)
game.Workspace.Door1.Rotation = Vector3.new(-773.463, 1683.242, 374)

When I run the game, the script does not work. Can someone ind the error?

0
Why do all axes have a value above 360? y3_th 176 — 5y

1 answer

Log in to vote
0
Answered by
KDarren12 705 Donator Moderation Voter
5 years ago

if there is only one part in the model, use this method.

wait(4)
workspace.Door1:FindFirstChildWhichisA("Part").Rotation = Vector3.new(-773.463, 1683.242, 374)
0
Thanks, I will see if it works Zikelah 20 — 5y
0
There is a few parts in the model. Zikelah 20 — 5y
Ad

Answer this question