Advertisement
otorp2

vertup vertdown

Jun 30th, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. local model = Instance.new("Model",workspace)
  2. model.Name = "Vertical Wall2"
  3.  
  4.  
  5.  
  6. function vertup()
  7. for i = 0,20,5 do local part = Instance.new("Part",workspace) part.Size = Vector3.new(i,5,1) part.Position = Vector3.new(0,0,0)
  8. print(part.Size)part.Parent = model
  9. end
  10. end
  11.  
  12. function vertdown()
  13. for i = 20,0,-5 do
  14. local part = Instance.new("Part",workspace)part.Size = Vector3.new(i,5,1)
  15. part.Position = Vector3.new(0,20,0)
  16. part.Parent = model
  17.  
  18. end
  19. end
  20.  
  21. vertup() vertdown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement