Advertisement
EconomicSerg

The script to a game i made (pls look)

Feb 1st, 2021
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. local function spawnPart()
  2.     local part = Instance.new("Part")
  3.     part.Parent = game.Workspace
  4.     part.BrickColor = BrickColor.Red()
  5.     part.Position = part.Position + Vector3.new(0, 50, 0)
  6.     part.CanCollide = true
  7.     part.Size = Vector3.new(10, 10, 10)
  8. end
  9.  
  10. while wait(0.001) do
  11.     spawnPart()
  12.     local explosion = Instance.new("Explosion")
  13.     explosion.BlastRadius = 5000
  14.     explosion.Parent = game.Workspace
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement