I want to make an object fully rotate, so im doing a script like this
brick = Instance.new("Part", game.Workspace)
brick.Name = "Hello"
brick.Size = Vector3.new(4,4,6)
brick.Position = Vector3.new(1, 19, 1)
brick.Anchored = true
brick.Rotation = Vector3.new(0.2,0,0)
wait(0.1)
brick.Rotation = Vector3.new(0.4,0,0)
wait(0.1)
brick.Rotation = Vector3.new(0.6,0,0)
wait(0.1)
brick.Rotation = Vector3.new(0.8,0,0)
wait(0.1)
brick.Rotation = Vector3.new(1,0,0)
wait(0.1)
brick.Rotation = Vector3.new(1.2,0,0)
wait(0.1)
brick.Rotation = Vector3.new(1.4,0,0)
wait(0.1)
brick.Rotation = Vector3.new(1.6,0,0)
...
But, I want to make it like a pattern so I don't have to make it 1 by 1. I thought of something that would take the number in the line before and then add 0.2. so it goes like Vector3.new(0.2,0,0) and then is (0.2,0,0) and keeps adding to until it fully rotates.

1 comment
Just a suggestion in case Xetrax's help doesnt work then try using CFrame.new instead of Vector3.new