Advertisement
DrawingJhon

Agujero negroo

Aug 11th, 2020 (edited)
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1. local ball
  2. coroutine.resume(coroutine.create(function()
  3.     ball = Instance.new("Part", workspace)
  4.     ball.Position = Vector3.new(0, 30, 0)
  5.     ball.Shape = "Ball"
  6.     ball.Anchored = true
  7.     ball.TopSurface = "Smooth"
  8.     ball.BottomSurface = "Smooth"
  9.     ball.Color = Color3.fromRGB(0, 0, 0)
  10.     ball.CanCollide = false
  11.     ball.Material = "Neon"
  12.     for i = 1, 35, 0.1 do
  13.         ball.Size = Vector3.new(i, i, i)
  14.         wait()
  15.     end
  16.     local boom = Instance.new("Explosion", workspace)
  17.     boom.BlastRadius = 100
  18.     boom.Position = ball.Position
  19.     for i = 35, 100, 0.1 do
  20.         ball.Size = Vector3.new(i, i, i)
  21.     end
  22. end))
  23.  
  24. for i, part in pairs(workspace:GetDescendants()) do
  25.     if part:IsA("BasePart") and part ~= ball and part.Name ~= "Base" then
  26.         part.Anchored = false
  27.         local bodypos = Instance.new("BodyPosition", part)
  28.         bodypos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  29.         bodypos.Position = Vector3.new(0, 30, 0)
  30.     end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement