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

C-Framing a Model instead of a brick?

Asked by 9 years ago

So, I've got this script made, but it works only on bricks and not on models.

How would I change that so it works on models too?

1movements=37
2speed=0.2
3for i=1,movements do
4wait(0.01)
5script.Parent.PLT.CFrame = script.Parent.PLT.CFrame + Vector3.new(0,-speed,0);
6end

Thanks in advance!?

Answer this question