Advertisement
dahpiglz

Untitled

Jul 22nd, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. point = Vector3.new(0, 0, 0)
  2. moverange = 4
  3. growrate = 1.01
  4.  
  5. parts = {}
  6.  
  7. while true do
  8. wait(0.1)
  9. local p = Instance.new("Part")
  10. p.CFrame = CFrame.new(point)
  11. p.Anchored = true
  12. p.Size = Vector3.new(4, 4, 4)
  13.  
  14. p.Parent = game.Workspace
  15.  
  16. point = Vector3.new(point.X + math.random(0 - moverange, moverange), point.Y + math.random(0 - moverange, moverange), point.Z + math.random(0 - moverange, moverange))
  17.  
  18. tablenext = #parts + 1
  19. table.insert(parts, p)
  20.  
  21. for i,v in pairs(parts) do
  22. v.Size = Vector3.new(v.Size.X * growrate, v.Size.Y * growrate, v.Size.Z * growrate)
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement