EmeraldIT

DIE die DIE!!!!!

Jun 9th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.92 KB | None | 0 0
  1.  
  2. print("Made by imtellingmommy/Narutozo on roblox.")
  3. print("Please, do not remove this from the script.")
  4. print("If you are showcasing make sure to give credit.")
  5. print("If there are any problems, dm mommy#4890.")
  6. print("Go to line 133 to edit the size of the nuke.")
  7. print("Controls are c to enable and c again to disable, p to enable dropping off from sky, and o to enable rocketing into the air and back down into the ground.")
  8. warn("This script is very early, glitches/lag may occur.")
  9. print("Nuke Em' All")
  10.  
  11. local mouse = game.Players.LocalPlayer:GetMouse()
  12.  
  13. local allowed = false
  14. local count = 1
  15.  
  16. local drop = false
  17.  
  18. mouse.KeyDown:connect(function(key)
  19. if key == "p" then
  20. drop = true
  21. print("Rocket will spawn high")
  22. elseif key == "o" then
  23. drop = false
  24. print("Rocket will spawn low")
  25. end
  26. end)
  27.  
  28. mouse.KeyDown:connect(function(key)
  29. if key == "c" and count == 1 then
  30. allowed = true
  31. print("Enabled")
  32. count=count+1
  33. elseif key == "c" and count == 2 then
  34. print("Disabled")
  35. count = 1
  36. allowed = false
  37. end
  38. end)
  39.  
  40. local touched = false
  41.  
  42. mouse.Button1Down:connect(function()
  43. if allowed == true then
  44.  
  45. local anchored = true
  46. local sound = Instance.new("Sound", workspace)
  47. sound.SoundId = "rbxassetid://146971619"
  48. sound:Play()
  49. sound.TimePosition = 8
  50. local rocket = Instance.new("Part", workspace)
  51. workspace.Camera.CameraSubject = rocket
  52. rocket.CanCollide = true
  53. --rocket.Anchored = true
  54. spawn(function()
  55. while wait() do
  56. --print(sound.TimePosition)
  57. end
  58. end)
  59.  
  60.  
  61. spawn(function()
  62. while anchored == true do
  63. if sound.TimePosition > 5.3 then
  64. --rocket.Anchored = false
  65. anchored = false
  66. end
  67. wait()
  68. end
  69. end)
  70.  
  71. for i = 1,20 do
  72. local fire = Instance.new("Fire", rocket)
  73. fire.Size = 10
  74. end
  75.  
  76. if drop == true then
  77. rocket.Position = Vector3.new(mouse.Hit.X,mouse.Hit.Y+900,mouse.Hit.Z)
  78. elseif drop == false then
  79. rocket.Position = Vector3.new(mouse.Hit.X,mouse.Hit.Y+9,mouse.Hit.Z)
  80. end
  81.  
  82. rocket.Size = Vector3.new(6,6,8)
  83.  
  84. spawn(function()
  85. rocket.CFrame = rocket.CFrame*CFrame.Angles(math.rad(90),0,math.rad(90))
  86. if drop == false then
  87. wait(4)
  88. elseif drop == true then
  89. wait()
  90. end
  91.  
  92. local bodyg = Instance.new("BodyGyro", rocket)
  93. bodyg.maxTorque = Vector3.new(100,100,100)
  94. bodyg.P = 500
  95. while wait() do
  96. local target = mouse.Hit.p
  97. bodyg.CFrame = CFrame.new(rocket.CFrame.p, target)
  98. end
  99. end)
  100.  
  101. --rocket.CustomPhysicalProperties = PhysicalProperties.new(500,500,500,5000,500)
  102. --rocket.
  103.  
  104. local bodyvel = Instance.new("BodyVelocity", rocket)
  105. bodyvel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  106.  
  107. spawn(function()
  108. while wait() do
  109. bodyvel.Velocity = rocket.CFrame.lookVector*900
  110. end
  111. end)
  112.  
  113.  
  114. local mesh = Instance.new("SpecialMesh", rocket)
  115. mesh.MeshId = "http://www.roblox.com/asset/?id=2251534"
  116. mesh.TextureId = "http://www.roblox.com/asset/?id=2758175"
  117. mesh.Scale = Vector3.new(2,2,3.5)
  118.  
  119. rocket.Touched:connect(function()
  120. local BasePosition = rocket.CFrame.p
  121.  
  122. touched = true
  123.  
  124. if touched == true then
  125. workspace.Camera.CameraSubject = game.Players.LocalPlayer.Character.Torso
  126. rocket:Destroy()
  127. touched = false
  128. local CloudID= "http://www.roblox.com/asset/?id=1095708"
  129. local ColorTexture = "http://www.roblox.com/asset/?ID=1361097"
  130. local RingID = "http://www.roblox.com/asset/?id=3270017"
  131. local SphereID = "http://www.roblox.com/asset/?id=1185246"
  132.  
  133.  
  134. local Size = 800 --Change the size if you want.
  135.  
  136. local Exp = Instance.new("Model")
  137. Exp.Name = "Tsar"
  138. Exp.Parent = game.Workspace
  139.  
  140. local BasePart = Instance.new("Part")
  141. BasePart.formFactor = 0
  142. BasePart.TopSurface = 0
  143. BasePart.BottomSurface = 0
  144. BasePart.Anchored = true
  145. BasePart.Locked = true
  146. BasePart.CanCollide = false
  147.  
  148. local BaseMesh = Instance.new("SpecialMesh")
  149. BaseMesh.MeshType = "FileMesh"
  150.  
  151. local CloudMesh = BaseMesh:clone()
  152. CloudMesh.MeshId = CloudID
  153. CloudMesh.TextureId = ColorTexture
  154. CloudMesh.VertexColor = Vector3.new(0.9,0.6,0)
  155.  
  156. local RingMesh = BaseMesh:clone()
  157. RingMesh.MeshId = RingID
  158.  
  159. local SphereMesh = BaseMesh:clone()
  160. SphereMesh.MeshId = SphereID
  161.  
  162. local Clouds = {}
  163. local ShockWave = {}
  164.  
  165.  
  166. function Effects()
  167. delay(0,function()
  168. for i = 10, 1,-0.5 do
  169. wait()
  170. game.Lighting.Brightness = i
  171. end
  172. game.Lighting.Ambient = Color3.new(152,159,36)
  173. for i = 0,1,0.01 do
  174. game.Lighting.Ambient = game.Lighting.Ambient:Lerp(Color3.new(0,0,0),i)
  175. wait()
  176. end
  177. end)
  178. end
  179.  
  180. function Destruction(Pos,Radius)
  181. local function Destroy(Model)
  182. for i ,v in ipairs(Model:getChildren()) do
  183. if v:isA("BasePart") then
  184. if (v.Position-Pos).magnitude < Radius then
  185. if v.Anchored == false then
  186. v:BreakJoints()
  187. v.Velocity = CFrame.new(v.Position,Pos):vectorToWorldSpace(Vector3.new(math.random(-5,5),5,1000))
  188. v.Material = "CorrodedMetal"
  189. end
  190. end
  191. end
  192. if #v:getChildren() > 0 then
  193. Destroy(v)
  194. end
  195. end
  196. end
  197. Destroy(game.Workspace)
  198. end
  199. function Explode(Pos)
  200.  
  201. local Base = BasePart:clone()
  202. Base.Position = Pos
  203.  
  204. local Mesh = CloudMesh:clone()
  205. Mesh.Parent = Base
  206. Mesh.Scale = Vector3.new(2.5,1,4.5)
  207.  
  208. local PoleBase = BasePart:clone()
  209. PoleBase.Position = Pos+Vector3.new(0,0.1,0)
  210.  
  211. local PoleBaseMesh = CloudMesh:clone()
  212. PoleBaseMesh.Scale = Vector3.new(1.25,2,2.5)
  213. PoleBaseMesh.Parent = PoleBase
  214.  
  215. local Cloud1 = BasePart:clone()
  216. Cloud1.Position = Pos+Vector3.new(0,0.75,0)
  217.  
  218. local Cloud1Mesh = CloudMesh:clone()
  219. Cloud1Mesh.Scale = Vector3.new(0.5,3,1)
  220. Cloud1Mesh.Parent = Cloud1
  221.  
  222. local Cloud2 = BasePart:clone()
  223. Cloud2.Position = Pos+Vector3.new(0,1.25,0)
  224.  
  225. local Cloud2Mesh = CloudMesh:clone()
  226. Cloud2Mesh.Scale = Vector3.new(0.5,1.5,1)
  227. Cloud2Mesh.Parent = Cloud2
  228.  
  229. local Cloud3 = BasePart:clone()
  230. Cloud3.Position = Pos+Vector3.new(0,1.7,0)
  231.  
  232. local Cloud3Mesh = CloudMesh:clone()
  233. Cloud3Mesh.Scale = Vector3.new(0.5,1.5,1)
  234. Cloud3Mesh.Parent = Cloud3
  235.  
  236. local PoleRing = BasePart:clone()
  237. PoleRing.Position = Pos+Vector3.new(0,1.3,0)
  238. PoleRing.Transparency = 0.2
  239. PoleRing.BrickColor = BrickColor.new("Dark stone grey")
  240. PoleRing.CFrame = PoleRing.CFrame*CFrame.Angles(math.rad(90),0,0)
  241.  
  242. local Mesh = RingMesh:clone()
  243. Mesh.Scale = Vector3.new(1.2,1.2,1.2)
  244. Mesh.Parent = PoleRing
  245.  
  246. local MushCloud = BasePart:clone()
  247. MushCloud.Position = Pos+Vector3.new(0,2.3,0)
  248.  
  249. local MushMesh = CloudMesh:clone() -- lol
  250. MushMesh.Scale = Vector3.new(2.5,1.75,3.5)
  251. MushMesh.Parent = MushCloud
  252.  
  253. local TopCloud = BasePart:clone()
  254. TopCloud.Position = Pos+Vector3.new(0,2.7,0)
  255.  
  256. local TopMesh = CloudMesh:clone()
  257. TopMesh.Scale = Vector3.new(7.5,1.5,1.5)
  258. TopMesh.Parent = TopCloud
  259.  
  260. table.insert(Clouds,Base)
  261. table.insert(Clouds,TopCloud)
  262. table.insert(Clouds,MushCloud)
  263. table.insert(Clouds,Cloud1)
  264. table.insert(Clouds,Cloud2)
  265. table.insert(Clouds,Cloud3)
  266. table.insert(Clouds,PoleBase)
  267. table.insert(Clouds,PoleRing)
  268.  
  269.  
  270. local BigRing = BasePart:clone()
  271. BigRing.Position = Pos
  272. BigRing.CFrame = BigRing.CFrame*CFrame.Angles(math.rad(90),0,0)
  273.  
  274. local BigMesh = RingMesh:clone()
  275. BigMesh.Scale = Vector3.new(5,5,1)
  276. BigMesh.Parent = BigRing
  277.  
  278. local SmallRing = BasePart:clone()
  279. SmallRing.Position = Pos
  280. SmallRing.BrickColor = BrickColor.new("Dark stone grey")
  281. SmallRing.CFrame = SmallRing.CFrame*CFrame.Angles(math.rad(90),0,0)
  282.  
  283. local SmallMesh = RingMesh:clone()
  284. SmallMesh.Scale = Vector3.new(4.6,4.6,1.5)
  285. SmallMesh.Parent = SmallRing
  286.  
  287. local InnerSphere = BasePart:clone()
  288. InnerSphere.Position = Pos
  289. InnerSphere.BrickColor = BrickColor.new("Bright orange")
  290. InnerSphere.Transparency = 0.5
  291.  
  292. local InnerSphereMesh = SphereMesh:clone()
  293. InnerSphereMesh.Scale = Vector3.new(-6.5,-6.5,-6.5)
  294. InnerSphereMesh.Parent = InnerSphere
  295.  
  296. local OutterSphere = BasePart:clone()
  297. OutterSphere.Position = Pos
  298. OutterSphere.BrickColor = BrickColor.new("Bright orange")
  299. OutterSphere.Transparency = 0.5
  300.  
  301. local OutterSphereMesh = SphereMesh:clone()
  302. OutterSphereMesh.Scale = Vector3.new(6.5,6.5,6.5)
  303. OutterSphereMesh.Parent = OutterSphere
  304.  
  305. table.insert(ShockWave,BigRing)
  306. table.insert(ShockWave,SmallRing)
  307. table.insert(ShockWave,OutterSphere)
  308. table.insert(ShockWave,InnerSphere)
  309. for i , v in ipairs(ShockWave) do
  310. v.Parent = Exp
  311. end
  312. for i , v in ipairs(Clouds) do
  313. v.Parent = Exp
  314. end
  315. Effects()
  316. delay(0,function()
  317. spawn(function()
  318. for resize = Size/1.5, Size*3, 0.2 do
  319. wait()
  320. BigRing.Mesh.Scale = Vector3.new(7*resize,7*resize,1*resize)
  321. SmallRing.Mesh.Scale = Vector3.new(5.6*resize,5.6*resize,1.5*resize)
  322. InnerSphere.Mesh.Scale = Vector3.new(-6.5*resize,-6.5*resize,-6.5*resize)
  323. OutterSphere.Mesh.Scale = Vector3.new(6.5*resize,6.5*resize,6.5*resize)
  324. Destruction(Pos,3*resize)
  325. end
  326. end)
  327. for fade = 0, 1, 0.005 do
  328. wait()
  329. pcall(function()
  330. for i ,v in ipairs(ShockWave) do
  331. v.Transparency = fade
  332. end
  333. end)
  334. end
  335. for i ,v in ipairs(ShockWave) do
  336. v:Remove()
  337. end
  338. done1 = true
  339. end)
  340. delay(0,function()
  341. for resize = Size/5, Size, 0.1 do
  342. wait()
  343. pcall(function()
  344. Base.Mesh.Scale = Vector3.new(2.5*resize,1*resize,4.5*resize)
  345. TopCloud.Mesh.Scale = Vector3.new(2*resize,1.5*resize,3*resize)
  346. MushCloud.Mesh.Scale = Vector3.new(2.5*resize,1.75*resize,3.5*resize)
  347. Cloud1.Mesh.Scale = Vector3.new(0.5*resize,3*resize,1*resize)
  348. Cloud2.Mesh.Scale = Vector3.new(0.5*resize,5*resize,1*resize)
  349. Cloud3.Mesh.Scale = Vector3.new(0.5*resize,5*resize,1*resize)
  350. PoleBase.Mesh.Scale = Vector3.new(1*resize,3*resize,2.5*resize)
  351. PoleRing.Mesh.Scale = Vector3.new(1.2*resize,1.2*resize,1.2*resize)
  352.  
  353. Base.Position = Pos+Vector3.new(0,0.05*resize,0)
  354. TopCloud.Position = Pos+Vector3.new(0,2.7*resize,0)*2
  355. MushCloud.Position = Pos+Vector3.new(0,2.3*resize,0)*2
  356. Cloud1.Position = Pos+Vector3.new(0,0.75*resize,0)*2
  357. Cloud2.Position = Pos+Vector3.new(0,1.25*resize,0)*2
  358. Cloud3.Position = Pos+Vector3.new(0,1.7*resize,0)*2
  359. PoleBase.Position = Pos+Vector3.new(0,0.1*resize,0)*2
  360. PoleRing.Position = Pos+Vector3.new(0,1.3*resize,0)*2
  361. end)
  362. end
  363. done2 = true
  364. end)
  365. wait(2)
  366. for y = 0.6,0,-0.0025 do
  367. wait()
  368. for i , v in ipairs(Clouds) do
  369. v.Mesh.VertexColor = Vector3.new(0.9,y,0)
  370. end
  371. end
  372. for r = 0.9,0.5,-0.01 do
  373. wait()
  374. for i , v in ipairs(Clouds) do
  375. v.Mesh.VertexColor = Vector3.new(r,0,0)
  376. end
  377. end
  378. for by = 0,0.5,0.005 do
  379. wait()
  380. for i , v in ipairs(Clouds) do
  381. v.Mesh.VertexColor = Vector3.new(0.5,by,by)
  382. v.Transparency = by*2.1
  383. end
  384. Base.Mesh.Scale = Base.Mesh.Scale+Vector3.new(0.1,0.1,0.1)
  385. TopCloud.Mesh.Scale = TopCloud.Mesh.Scale+Vector3.new(0.5,0.4,0.5)*2
  386. MushCloud.Mesh.Scale = MushCloud.Mesh.Scale+Vector3.new(0.3,0.3,0.3)*2
  387. Cloud1.Mesh.Scale = Cloud1.Mesh.Scale+Vector3.new(0.1,0.1,0.1)*2
  388. Cloud2.Mesh.Scale = Cloud2.Mesh.Scale+Vector3.new(0.1,0.4,0.1)*2
  389. Cloud3.Mesh.Scale = Cloud3.Mesh.Scale+Vector3.new(0.1,0.1,0.1)*2
  390. PoleBase.Mesh.Scale = PoleBase.Mesh.Scale+Vector3.new(0.1,0.1,0.1)*2
  391. PoleRing.Mesh.Scale = PoleRing.Mesh.Scale+Vector3.new(0.8,0.8,0.8)*2
  392. end
  393. done3 = true
  394. while true do wait(1) if done1 and done2 and done3 then break end end
  395. Exp:remove()
  396. wait(20)
  397. end
  398.  
  399.  
  400.  
  401.  
  402. Explode(BasePosition)
  403.  
  404. end
  405. end)
  406. end
  407. end)
Add Comment
Please, Sign In to add comment