Dark_EccentricYT

Untitled

Feb 1st, 2018
21,252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Humanoid1 = Instance.new("Humanoid")
  21. Part2 = Instance.new("Part")
  22. CylinderMesh3 = Instance.new("CylinderMesh")
  23. Part4 = Instance.new("Part")
  24. CylinderMesh5 = Instance.new("CylinderMesh")
  25. Script6 = Instance.new("Script")
  26. Model0.Name = " "
  27. Model0.Parent = mas
  28. Humanoid1.Parent = Model0
  29. Humanoid1.Health = 0
  30. Humanoid1.MaxHealth = 0
  31. Part2.Parent = Model0
  32. Part2.BrickColor = BrickColor.new("Dark stone grey")
  33. Part2.Reflectance = 0.5
  34. Part2.Anchored = true
  35. Part2.Size = Vector3.new(5, 1.20000005, 5)
  36. Part2.CFrame = CFrame.new(-26.8999996, 0.600005269, -16.4399662, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  37. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  38. Part2.Position = Vector3.new(-26.8999996, 0.600005269, -16.4399662)
  39. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  40. CylinderMesh3.Parent = Part2
  41. Part4.Name = "Head"
  42. Part4.Parent = Model0
  43. Part4.BrickColor = BrickColor.new("Really red")
  44. Part4.Anchored = true
  45. Part4.Size = Vector3.new(5, 1.20000005, 5)
  46. Part4.CFrame = CFrame.new(-26.8999996, 1.80000603, -16.4399662, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  47. Part4.Color = Color3.new(1, 0, 0)
  48. Part4.Position = Vector3.new(-26.8999996, 1.80000603, -16.4399662)
  49. Part4.Color = Color3.new(1, 0, 0)
  50. CylinderMesh5.Parent = Part4
  51. CylinderMesh5.Scale = Vector3.new(0.75, 1, 0.75)
  52. CylinderMesh5.Scale = Vector3.new(0.75, 1, 0.75)
  53. Script6.Parent = Part4
  54. table.insert(cors,sandbox(Script6,function()
  55. local ONOES = Instance.new("Sound")
  56. ONOES.SoundId = "rbxassetid://199837904"
  57. ONOES.Volume = 10
  58. ONOES.EmitterSize = math.huge
  59. ONOES.Looped = false
  60. ONOES.archivable = false
  61. ONOES.Parent = workspace
  62.  
  63. --game:GetService("Debris").MaxItems = 350 -- Decrease if you have a laggy computer
  64. local s = Instance.new("Sound")
  65. s.Volume = 10
  66. s.EmitterSize = math.huge
  67. sounds = {"rbxasset://sounds\\rocket shot.wav", "rbxasset://sounds\\collide.wav"}
  68. local workspace = game.Workspace
  69.  
  70. function check(object)
  71.  
  72. if object.className == "Model" and object:findFirstChild("Humanoid") == nil then
  73. for i, v in ipairs(object:getChildren()) do
  74. check(v)
  75. wait()
  76. end
  77. end
  78. if object:IsA("Part") then
  79. local soundclone = s:Clone()
  80. soundclone.SoundId = sounds[math.random(1, 2)]
  81. game:GetService("Debris"):AddItem(object, 300)
  82. soundclone.Pitch = math.random(9, 12)/10
  83. soundclone.Parent = object
  84. delay(0.1, function() soundclone:Play() end)
  85. delay(0, function()
  86. for i = 1, 15*1.5 do
  87. local Model = Instance.new("Model",workspace)
  88. local Cloud1 = Instance.new("Part")
  89. local Cloud2 = Instance.new("Part")
  90. local Cloud1Mesh = Instance.new("SpecialMesh")
  91. local Cloud2Mesh = Instance.new("SpecialMesh")
  92. local Sound = Instance.new("Sound",workspace)
  93. local sky = Instance.new("Sky")
  94. NUKE_COLOR = 24 --Only BrickColor codes.
  95. CLOUD_TRANSPARENCY = 0.25
  96.  
  97. wait(0.001)
  98.  
  99. function radiation(hit)
  100. local h = hit.Parent:findFirstChild("Humanoid")
  101. local DAMAGE = 10
  102. if h~=nil then
  103. h.WalkSpeed = 5
  104. h.Parent["Right Leg"]:Destroy()
  105. h.Parent["Left Arm"]:Destroy()
  106. for i =1,h.MaxHealth do
  107. h.Health = h.Health - DAMAGE
  108. wait(1)
  109. end
  110. end
  111. end
  112. function unanchor (m)
  113. for _,i in pairs (m:GetChildren()) do
  114. if i:IsA("Part","Model","Union","WedgePart","CornerWedgePart") then
  115. -- i.Anchored = false
  116. local Fire = Instance.new("Fire")
  117. Fire.Parent = i
  118. Fire.Size = math.random(5,10)
  119. i.Material = "CorrodedMetal"
  120. i:BreakJoints()
  121. i.BrickColor = BrickColor.new(26)
  122. i.Touched:connect(radiation)
  123.  
  124. else
  125. unanchor(i)
  126. end
  127. end
  128. end
  129. unanchor(game.Workspace)
  130.  
  131. Sound.SoundId = "http://www.roblox.com/asset?id=2248511"
  132. Sound.PlaybackSpeed = 0.2
  133. Sound.Playing = true
  134. Sound.Volume = 10
  135.  
  136. Model.Name = "Mushroom Cloud"
  137. Cloud1.Parent = Model
  138. Cloud1.Anchored = true
  139. Cloud1.CanCollide = false
  140. Cloud1.Locked = true
  141. Cloud1Mesh.Parent = Cloud1
  142. Cloud1Mesh.MeshType = "FileMesh"
  143. Cloud1Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  144. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(95,300,195) --1999
  145. Cloud2.Parent = Model
  146. Cloud2.Anchored = true
  147. Cloud2.CanCollide = false
  148. Cloud2.Locked = true
  149. Cloud2.Position = Cloud2.Position + Vector3.new(0,587,0)
  150. Cloud2Mesh.Parent = Cloud2
  151. Cloud2Mesh.MeshType = "FileMesh"
  152. Cloud2Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  153. Cloud2Mesh.Scale = Cloud2Mesh.Scale + Vector3.new(399,399,649)
  154. Cloud1.Transparency = CLOUD_TRANSPARENCY
  155. Cloud2.Transparency = CLOUD_TRANSPARENCY
  156. Cloud1.BrickColor = BrickColor.new(NUKE_COLOR)
  157. Cloud2.BrickColor = BrickColor.new(NUKE_COLOR)
  158. sky.Parent = game.Lighting
  159. sky.Name = "NukeSky"
  160. sky.CelestialBodiesShown = true
  161. sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  162. sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  163. sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  164. sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  165. sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  166. sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  167. explosion = Instance.new("Explosion")
  168. explosion.Parent = game.Workspace
  169. explosion.BlastRadius = 9999999999999
  170. explosion.BlastPressure = 10000000
  171. game.Lighting.Brightness = 999
  172. game.Lighting.OutdoorAmbient = Color3.new(1,0,0)
  173. wait (1) --Fireball
  174. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --200
  175. wait (0.25)
  176. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --400
  177. wait (0.25)
  178. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --600
  179. wait (0.25)
  180. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --800
  181. wait (0.25)
  182. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1000
  183. wait (0.25)
  184. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1200
  185. wait (0.25)
  186. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1400
  187. wait (0.25)
  188. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1600
  189. wait (0.25)
  190. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,100,0) --1700
  191. wait (30) --End phase of the nuke
  192. game.Lighting.Ambient = Color3.new(0,0,0)
  193. game.Lighting.OutdoorAmbient = Color3.new(127 / 255,127 / 255,127 / 255)
  194. sky:Destroy()
  195. game.Lighting.Brightness = 1
  196. Cloud1.BrickColor = BrickColor.new(1)
  197. Cloud2.BrickColor = BrickColor.new(1)
  198. Cloud1.Transparency = 0.6
  199. Cloud2.Transparency = 0.6
  200. wait (5)
  201. Cloud1.Transparency = 0.7
  202. Cloud2.Transparency = 0.7
  203. wait (5)
  204. Cloud1.Transparency = 0.8
  205. Cloud2.Transparency = 0.8
  206. wait (5)
  207. Cloud1.Transparency = 0.9
  208. Cloud2.Transparency = 0.9
  209. wait (120)
  210. Cloud1:Destroy()
  211. Cloud2:Destroy()
  212. --BrickColor codes: http://wiki.roblox.com/index.php?title=BrickColor_codes
  213. local e = Instance.new("Explosion")
  214. e.Parent = workspace
  215. e.BlastPressure = 1e4*object:getMass()
  216. e.Position = object.Position
  217. object.Anchored = true
  218. object:BreakJoints()
  219. wait(1.5)
  220. end
  221. end)
  222.  
  223. end
  224. end
  225.  
  226. local deb = true
  227. script.Parent.Touched:connect(function(hit)
  228. if not deb then return end
  229. deb = false
  230. ONOES:Play()
  231. script.Parent.Parent.Name = ""
  232. local c = script.Parent.CFrame
  233. for i = 0, 1, 0.05 do
  234. script.Parent.CFrame = c - Vector3.new(0, i, 0)
  235. wait()
  236. end
  237. local m = Instance.new("Message")
  238. m.Text = "TACTICAL NUKE INCOMING!!"
  239. m.Parent = workspace
  240. local color = game.Lighting.Ambient
  241. delay(0, function()
  242. while true do
  243. game.Lighting.Brightness = 2
  244. game.Lighting.Ambient = Color3.new(100, 0, 0)
  245. game.Lighting.ColorShift_Top = Color3.new(1, 0, 0)
  246. game.Lighting.ColorShift_Bottom = Color3.new(1, 0, 0)
  247. wait(1)
  248. game.Lighting.Brightness = 1
  249. game.Lighting.Ambient = color
  250. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  251. game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
  252. wait(1)
  253. end
  254. end)
  255. wait(5)
  256. m:remove()
  257. script.Parent.Parent.Name = "OOF"
  258. for i, v in ipairs(workspace:getChildren()) do
  259. check(v)
  260. wait()
  261. end
  262. end)
  263.  
  264. end))
  265. for i,v in pairs(mas:GetChildren()) do
  266. v.Parent = workspace
  267. pcall(function() v:MakeJoints() end)
  268. end
  269. mas:Destroy()
  270. for i,v in pairs(cors) do
  271. spawn(function()
  272. pcall(v)
  273. end)
  274. end
Add Comment
Please, Sign In to add comment