one = script.Parent.Parent.Part
two = script.Parent.Parent.Part2
thr = script.Parent.Parent.Part3
cd = cd.script.ClickDetector
cd.MouseClick:connect(function()
one.Position = Vector3.new(66.9, 1.2, -15.6)
two.Position = Vector3.new(66.9, 1.2, -15.6)
thr.Position = Vector3.new(66.9, 1.2, -15.6)
wait(.025)
one.Position = Vector3.new(66.9, 1.3, -15.6)
two.Position = Vector3.new(66.9, 1.3, -15.6)
thr.Position = Vector3.new(66.9, 1.3, -15.6)
wait(.025)
one.Rotation = Vector3.new(2,15,10)
two.Rotation = Vector3.new(8,13,29)
thr.Rotation = Vector3.new(20,8,9)
wait(.025)
end)
The three blocks and button are in a model that is inside of another model. That's why I have Parent twice at the top of the script. Whenever I click the button, nothing happens. There is a click detector inside of the button block. Also, the real thing is 155 lines. I took out most of it so it would fit here with reasonable size. The three blocks move up like 130 times, then they all spin. The same script (but with only one block moving) works fine. There's just something wrong with this one. Can three blocks within the same function move at the same time? Or should I make three different functions of the three different blocks.

1 comment
That did not work. As before, nothing happened when I clicked it.