Advertisement
Beasrt

Untitled

Mar 30th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. local a = Instance.new("Model")
  2. a.Name = "RainFallHolder"
  3. a.Parent = game.Workspace
  4. a.archivable = true
  5.  
  6. function rain()
  7. local p = Instance.new("Part")
  8. p.Name = "RainFall"
  9. p.BrickColor = BrickColor.new("Bright blue")
  10. p.Parent = game.Workspace.RainFallHolder
  11. p.Size = Vector3.new(1,6,1)
  12. p.Locked = true
  13. p.Anchored = false
  14. p.CanCollide = true
  15. p.Position = Vector3.new((math.random(-300, 300)),100,(math.random(-300,300)))
  16. local CM = Instance.new("CylinderMesh")
  17. CM.Scale = Vector3.new(0.25,1,0.25)
  18. CM.Parent = game.Workspace.RainFallHolder.RainFall
  19. end
  20.  
  21. while true do
  22. wait(10)
  23. rain(5)
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement