potatinha

roblox MOONINHO

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