SKOONKBURG

ada

Apr 5th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. wait(1)
  2. local DeathStar = Instance.new("Part")
  3. local BBG = Instance.new("BillboardGui")
  4. local ImLab = Instance.new("ImageLabel")
  5. local Sound = Instance.new("Sound")
  6. Sound.SoundId = "rbxassetid://522569768"
  7. Sound.MaxDistance = math.huge
  8. Sound.EmitterSize = math.huge
  9. Sound.Volume = 1
  10. Sound.Parent = game.Workspace
  11. local DISTANCE = 1500
  12. local SIZE = 750
  13. local TIMEE = 1500
  14. DeathStar.Size = Vector3.new(1,1,1)
  15. DeathStar.BrickColor = BrickColor.new("Lime green")
  16. DeathStar.Material = Enum.Material.Neon
  17. local Mesh = Instance.new("SpecialMesh")
  18. Mesh.Scale = Vector3.new(SIZE,0,SIZE)
  19. Mesh.MeshType = Enum.MeshType.Sphere
  20. Mesh.Parent = DeathStar
  21. DeathStar.Transparency = 1
  22. DeathStar.Anchored = true
  23. BBG.Size = UDim2.new(SIZE,0,SIZE,0)
  24. ImLab.Size = UDim2.new(1,0,1,0)
  25. ImLab.Image = "rbxassetid://150858108"
  26. ImLab.BackgroundTransparency = 1
  27. ImLab.ImageTransparency = 1
  28. ImLab.Parent = BBG
  29. BBG.Parent = DeathStar
  30. DeathStar.CFrame = (game.Workspace:GetModelCFrame() + Vector3.new(0, 0, DISTANCE))
  31. DeathStar.Parent = game.Workspace
  32. wait(1)
  33. function boom(part)
  34. if part:IsA("BasePart") and part ~= DeathStar then
  35. local a = Instance.new("Explosion")
  36. a.Position = part.Position
  37. a.Parent = part
  38. part.Anchored = false
  39. end
  40. local b = part:GetChildren()
  41. for i=1,#b do
  42. if b[i]:IsA("BasePart") or b[i]:IsA("Folder") or b[i]:IsA("Model") then
  43. boom(b[i])
  44. end
  45. end
  46. end
  47.  
  48. for i=1,TIMEE do
  49. wait()
  50. DeathStar.CFrame = CFrame.new(0,DeathStar.Position.y + (DISTANCE/TIMEE), DeathStar.Position.z - (DISTANCE/TIMEE))
  51. ImLab.ImageTransparency = ImLab.ImageTransparency - (1/(TIMEE/2))
  52. end
  53. Sound:Play()
  54. game:GetService("Debris"):AddItem(Sound,Sound.TimeLength+1)
  55. wait(11)
  56. for i=1,25 do
  57. wait()
  58. if DeathStar.Transparency ~= 0 then
  59. DeathStar.Transparency = DeathStar.Transparency - 0.2
  60. end
  61. if DeathStar.Transparency <= 0 then
  62. DeathStar.Transparency = 0
  63. end
  64. Mesh.Scale = Vector3.new(SIZE,Mesh.Scale.y + ((DISTANCE*4)/50),SIZE)
  65. Mesh.Offset = Mesh.Offset - Vector3.new(0,((DISTANCE*2)/50),0)
  66. end
  67. game.Lighting.TimeOfDay = 0
  68. boom(game.Workspace)
  69. for i=1,25 do
  70. wait()
  71. Mesh.Scale = Vector3.new(SIZE,Mesh.Scale.y - ((DISTANCE*4)/50),SIZE)
  72. Mesh.Offset = Mesh.Offset - Vector3.new(0,((DISTANCE*2)/50),0)
  73. end
  74.  
  75. for i=1,100 do
  76. DeathStar.Transparency = DeathStar.Transparency + 1/50
  77. ImLab.ImageTransparency = ImLab.ImageTransparency + 1/50
  78. BBG.Size = BBG.Size - UDim2.new(SIZE/50,0,SIZE/50,0)
  79. wait()
  80. end
  81. game:GetService("Debris"):AddItem(DeathStar,1)
Add Comment
Please, Sign In to add comment