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

How to use Vector3 and C Flame to move parts on Roblox?

Asked by 4 years ago

I'm an starter person for scripting. You can answer my question if you wanted too...

1
Here's a good article with gifs to help you understand cframe:https://developer.roblox.com/en-us/articles/Understanding-CFrame royaltoe 5144 — 4y

1 answer

Log in to vote
-3
Answered by 4 years ago
while true do
     wait(5)
     script.Parent.Position = Vector3.new(2,2,2)
     wait(5)
     script.Parent.Position = Vector3.new(5,5,5)
end

This script would make it's parent go to those positions constantly. The first number is it's X value. The second is it's Y value. And the last is it's Z value.

If you have any questions comment down below.

All the best,

PrismaticFruits

Ad

Answer this question