Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local brick = Instance.new("Part",workspace)
- brick.CFrame = CFrame.new(Vector3.new(0,5,0,0))
- while true do
- for i = 1,100 do
- wait()
- brick.CFrame = brick.CFrame + Vector3.new(0,0,1)
- --workspace.maBrickmodel:SetPrimaryPartCFrame(CFrame.new(workspace.maBrickmodel.PrimaryPart.Position + Vector3.new(0,0,1)))
- print(i)
- end
- wait(.2)
- for i = 1,100 do
- wait()
- brick.CFrame = brick.CFrame - Vector3.new(0,0,1)
- --workspace.maBrickmodel:SetPrimaryPartCFrame(CFrame.new(workspace.maBrickmodel.PrimaryPart.Position - Vector3.new(0,0,1)))
- print(i)
- end
- wait(.2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement