I would like this code to repeat multiple times. How do I do that without having to copy and paste it 20 times?
lift.Position = lift.Position + Vector3.new(0,-1,0) wait(0.1)
Use a while true loop. Example:
while true do lift.Position = lift.Position + Vector3.new(0,-1,0) wait(0.1) end
-This will repeat it forever, but if you need to repeat it e.g 20 times, use a for loop. example:
for i = 1, 20 do lift.Position = lift.Position + Vector3.new(0,-1,0) wait(0.1) end
Read about the loops here
Hope this helps!