Advertisement
joe201501

Core OVERHEAT WARNING

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