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 a Moving Brick Using CFrame?

Hello, How would I make a script that uses Cframe to move a brick to one position then another?

4 comments

0

part:CFrame.new(0,0,0) wait(5) part:CFrame.new(1,1,1)

0

You can use tween service to tween a parts position oroperty

0

tweenservice us better

0

is*

2 answers

✓ Accepted answer

just adjust the part path

local part = workspace:WaitForChild("Part")
local xPos = 0 -- change to your X
local yPos = 0 -- change to your Y
local zPos = 0 -- change to your Z

part.CFrame = CFrame.new(xPos,yPos,zPos)
local part = part path

part.CFrame.new(0.0.0)
wait(1)
part.CFrame.new(10,10,10)

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