Advertisement
Guest User

Untitled

a guest
Jan 19th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. --make 1 meteor first
  2. --then spawn milions of meteor
  3.  
  4. while true do
  5. --inside the loop the code will run forever
  6. wait(0.2)
  7.  
  8. Meteor = Instance.new("Part", workspace)
  9. X = math.random(-200,200)
  10. Y = math.random(300,500)
  11. Z = math.random(-200,200)
  12. Meteor.Position = Vector3.new(X, Y, Z)
  13. Meteor.Size = Vector3.new(10,10,10)
  14. Meteor.Shape = Enum.PartType.Ball
  15. Meteor.Color = BrickColor.Random().Color
  16. Meteor.Material = Enum.Material.Cobblestone
  17.  
  18. --add fire to meteor
  19.  
  20. Instance.new("Fire", Meteor)
  21. Fire.Size = 30
  22. Fire.Color = BrickColor.new("Black").Color
  23.  
  24. --add smoke to meteor
  25.  
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement