Advertisement
UhhLegoboy

Volcano

Apr 9th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.86 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return scri
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. mas.Name = "CompiledModel"
  18. o1 = Instance.new("Model")
  19. o2 = Instance.new("Part")
  20. o3 = Instance.new("Part")
  21. o4 = Instance.new("Part")
  22. o5 = Instance.new("Part")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("Part")
  25. o8 = Instance.new("Part")
  26. o9 = Instance.new("Part")
  27. o10 = Instance.new("Part")
  28. o11 = Instance.new("Part")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("Part")
  31. o14 = Instance.new("Part")
  32. o15 = Instance.new("Part")
  33. o16 = Instance.new("Part")
  34. o17 = Instance.new("Part")
  35. o18 = Instance.new("Part")
  36. o19 = Instance.new("Script")
  37. o20 = Instance.new("Sound")
  38. o21 = Instance.new("Script")
  39. o1.Parent = mas
  40. o2.Parent = o1
  41. o2.Material = Enum.Material.Slate
  42. o2.BrickColor = BrickColor.new("Brown")
  43. o2.Position = Vector3.new(-78.000061, 1.50000405, -29.9999523)
  44. o2.Anchored = true
  45. o2.Size = Vector3.new(12, 3, 10)
  46. o2.CFrame = CFrame.new(-78.000061, 1.50000405, -29.9999523, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  47. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  48. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  49. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  50. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  51. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  52. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  53. o2.Color = Color3.new(0.486275, 0.360784, 0.27451)
  54. o2.Position = Vector3.new(-78.000061, 1.50000405, -29.9999523)
  55. o3.Parent = o1
  56. o3.Material = Enum.Material.Slate
  57. o3.BrickColor = BrickColor.new("Brown")
  58. o3.Position = Vector3.new(-63.5000229, 3.5000031, -32.9999619)
  59. o3.Anchored = true
  60. o3.Size = Vector3.new(29, 7, 8)
  61. o3.CFrame = CFrame.new(-63.5000229, 3.5000031, -32.9999619, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  62. o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  63. o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  64. o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  65. o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  66. o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  67. o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  68. o3.Color = Color3.new(0.486275, 0.360784, 0.27451)
  69. o3.Position = Vector3.new(-63.5000229, 3.5000031, -32.9999619)
  70. o4.Parent = o1
  71. o4.Material = Enum.Material.Slate
  72. o4.BrickColor = BrickColor.new("Brown")
  73. o4.Position = Vector3.new(-63.5000229, 3.5000031, -68.5000381)
  74. o4.Anchored = true
  75. o4.Size = Vector3.new(29, 7, 7)
  76. o4.CFrame = CFrame.new(-63.5000229, 3.5000031, -68.5000381, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  77. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  78. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  79. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  80. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  81. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  82. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  83. o4.Color = Color3.new(0.486275, 0.360784, 0.27451)
  84. o4.Position = Vector3.new(-63.5000229, 3.5000031, -68.5000381)
  85. o5.Parent = o1
  86. o5.Material = Enum.Material.Slate
  87. o5.BrickColor = BrickColor.new("Brown")
  88. o5.Position = Vector3.new(-52.5, 3.5000031, -51)
  89. o5.Rotation = Vector3.new(-0, -90, 0)
  90. o5.Anchored = true
  91. o5.Size = Vector3.new(28, 7, 7)
  92. o5.CFrame = CFrame.new(-52.5, 3.5000031, -51, 0, 0, -1.00000238, 0, 1, 0, 1.00000238, 0, 0)
  93. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  94. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  95. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  96. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  97. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  98. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  99. o5.Color = Color3.new(0.486275, 0.360784, 0.27451)
  100. o5.Position = Vector3.new(-52.5, 3.5000031, -51)
  101. o6.Parent = o1
  102. o6.Material = Enum.Material.Slate
  103. o6.BrickColor = BrickColor.new("Brown")
  104. o6.Position = Vector3.new(-75.5000458, 3.5000031, -50.9999962)
  105. o6.Rotation = Vector3.new(-0, -90, 0)
  106. o6.Anchored = true
  107. o6.Size = Vector3.new(28, 7, 5)
  108. o6.CFrame = CFrame.new(-75.5000458, 3.5000031, -50.9999962, 0, 0, -1.00000215, 0, 1, 0, 1.00000215, 0, 0)
  109. o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  110. o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  111. o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  112. o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  113. o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  114. o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  115. o6.Color = Color3.new(0.486275, 0.360784, 0.27451)
  116. o6.Position = Vector3.new(-75.5000458, 3.5000031, -50.9999962)
  117. o7.Parent = o1
  118. o7.Material = Enum.Material.Slate
  119. o7.BrickColor = BrickColor.new("Brown")
  120. o7.Position = Vector3.new(-54.0000038, 3.0000031, -29.4999504)
  121. o7.Anchored = true
  122. o7.Size = Vector3.new(14, 6, 11)
  123. o7.CFrame = CFrame.new(-54.0000038, 3.0000031, -29.4999504, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  124. o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  125. o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  126. o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  127. o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  128. o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  129. o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  130. o7.Color = Color3.new(0.486275, 0.360784, 0.27451)
  131. o7.Position = Vector3.new(-54.0000038, 3.0000031, -29.4999504)
  132. o8.Parent = o1
  133. o8.Material = Enum.Material.Slate
  134. o8.BrickColor = BrickColor.new("Brown")
  135. o8.Position = Vector3.new(-66.5000305, 1.0000031, -27.9999485)
  136. o8.Anchored = true
  137. o8.Size = Vector3.new(11, 2, 2)
  138. o8.CFrame = CFrame.new(-66.5000305, 1.0000031, -27.9999485, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  139. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  140. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  141. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  142. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  143. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  144. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  145. o8.Color = Color3.new(0.486275, 0.360784, 0.27451)
  146. o8.Position = Vector3.new(-66.5000305, 1.0000031, -27.9999485)
  147. o9.Parent = o1
  148. o9.Material = Enum.Material.Slate
  149. o9.BrickColor = BrickColor.new("Brown")
  150. o9.Position = Vector3.new(-49.9999962, 3.0000031, -58.5000153)
  151. o9.Anchored = true
  152. o9.Size = Vector3.new(6, 6, 35)
  153. o9.CFrame = CFrame.new(-49.9999962, 3.0000031, -58.5000153, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  154. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  155. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  156. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  157. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  158. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  159. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  160. o9.Color = Color3.new(0.486275, 0.360784, 0.27451)
  161. o9.Position = Vector3.new(-49.9999962, 3.0000031, -58.5000153)
  162. o10.Parent = o1
  163. o10.Material = Enum.Material.Slate
  164. o10.BrickColor = BrickColor.new("Brown")
  165. o10.Position = Vector3.new(-59.0000153, 3.0000031, -73.5000458)
  166. o10.Anchored = true
  167. o10.Size = Vector3.new(12, 6, 5)
  168. o10.CFrame = CFrame.new(-59.0000153, 3.0000031, -73.5000458, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  169. o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  170. o10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  171. o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  172. o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  173. o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  174. o10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  175. o10.Color = Color3.new(0.486275, 0.360784, 0.27451)
  176. o10.Position = Vector3.new(-59.0000153, 3.0000031, -73.5000458)
  177. o11.Parent = o1
  178. o11.Material = Enum.Material.Slate
  179. o11.BrickColor = BrickColor.new("Brown")
  180. o11.Position = Vector3.new(-79.500061, 3.0000031, -64.5000305)
  181. o11.Anchored = true
  182. o11.Size = Vector3.new(3, 6, 11)
  183. o11.CFrame = CFrame.new(-79.500061, 3.0000031, -64.5000305, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  184. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  185. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  186. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  187. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  188. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  189. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  190. o11.Color = Color3.new(0.486275, 0.360784, 0.27451)
  191. o11.Position = Vector3.new(-79.500061, 3.0000031, -64.5000305)
  192. o12.Parent = o1
  193. o12.Material = Enum.Material.Slate
  194. o12.BrickColor = BrickColor.new("Brown")
  195. o12.Position = Vector3.new(-78.500061, 3.5000031, -53.5000038)
  196. o12.Anchored = true
  197. o12.Size = Vector3.new(1, 7, 33)
  198. o12.CFrame = CFrame.new(-78.500061, 3.5000031, -53.5000038, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  199. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  200. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  201. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  202. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  203. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  204. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  205. o12.Color = Color3.new(0.486275, 0.360784, 0.27451)
  206. o12.Position = Vector3.new(-78.500061, 3.5000031, -53.5000038)
  207. o13.Parent = o1
  208. o13.Material = Enum.Material.Slate
  209. o13.BrickColor = BrickColor.new("Brown")
  210. o13.Position = Vector3.new(-70.5000381, 2.0000031, -72.5000458)
  211. o13.Anchored = true
  212. o13.Size = Vector3.new(11, 4, 3)
  213. o13.CFrame = CFrame.new(-70.5000381, 2.0000031, -72.5000458, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  214. o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  215. o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  216. o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  217. o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  218. o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  219. o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  220. o13.Color = Color3.new(0.486275, 0.360784, 0.27451)
  221. o13.Position = Vector3.new(-70.5000381, 2.0000031, -72.5000458)
  222. o14.Parent = o1
  223. o14.Material = Enum.Material.Slate
  224. o14.BrickColor = BrickColor.new("Brown")
  225. o14.Position = Vector3.new(-64.0000305, 0.500003099, -51)
  226. o14.Rotation = Vector3.new(-0, -90, 0)
  227. o14.Anchored = true
  228. o14.Size = Vector3.new(28, 1, 30)
  229. o14.CFrame = CFrame.new(-64.0000305, 0.500003099, -51, 0, 0, -1.00000238, 0, 1, 0, 1.00000238, 0, 0)
  230. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  231. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  232. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  233. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  234. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  235. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  236. o14.Color = Color3.new(0.486275, 0.360784, 0.27451)
  237. o14.Position = Vector3.new(-64.0000305, 0.500003099, -51)
  238. o15.Parent = o1
  239. o15.Material = Enum.Material.Neon
  240. o15.BrickColor = BrickColor.new("Really red")
  241. o15.Transparency = 0.5
  242. o15.Position = Vector3.new(-67.0000305, 1.5000031, -50.9999962)
  243. o15.Anchored = true
  244. o15.CanCollide = false
  245. o15.Size = Vector3.new(22, 1, 28)
  246. o15.CFrame = CFrame.new(-67.0000305, 1.5000031, -50.9999962, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  247. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  248. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  249. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  250. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  251. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  252. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  253. o15.Color = Color3.new(1, 0, 0)
  254. o15.Position = Vector3.new(-67.0000305, 1.5000031, -50.9999962)
  255. o16.Parent = o1
  256. o16.Material = Enum.Material.Neon
  257. o16.BrickColor = BrickColor.new("Really red")
  258. o16.Transparency = 0.5
  259. o16.Position = Vector3.new(-64.5000305, 2.50000215, -50.9999962)
  260. o16.Anchored = true
  261. o16.CanCollide = false
  262. o16.Size = Vector3.new(17, 1, 28)
  263. o16.CFrame = CFrame.new(-64.5000305, 2.50000215, -50.9999962, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  264. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  265. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  266. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  267. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  268. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  269. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  270. o16.Color = Color3.new(1, 0, 0)
  271. o16.Position = Vector3.new(-64.5000305, 2.50000215, -50.9999962)
  272. o17.Parent = o1
  273. o17.Material = Enum.Material.Neon
  274. o17.BrickColor = BrickColor.new("Really red")
  275. o17.Transparency = 0.5
  276. o17.Position = Vector3.new(-67.0000305, 1.5000031, -50.9999962)
  277. o17.Anchored = true
  278. o17.CanCollide = false
  279. o17.Size = Vector3.new(22, 1, 28)
  280. o17.CFrame = CFrame.new(-67.0000305, 1.5000031, -50.9999962, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  281. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  282. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  283. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  284. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  285. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  286. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  287. o17.Color = Color3.new(1, 0, 0)
  288. o17.Position = Vector3.new(-67.0000305, 1.5000031, -50.9999962)
  289. o18.Parent = o1
  290. o18.Material = Enum.Material.Neon
  291. o18.BrickColor = BrickColor.new("Really red")
  292. o18.Transparency = 0.5
  293. o18.Position = Vector3.new(-64.5000305, 3.50000215, -50.9999962)
  294. o18.Anchored = true
  295. o18.CanCollide = false
  296. o18.Size = Vector3.new(17, 1, 28)
  297. o18.CFrame = CFrame.new(-64.5000305, 3.50000215, -50.9999962, 1.00000215, 0, 0, 0, 1, 0, 0, 0, 1.00000215)
  298. o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  299. o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  300. o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  301. o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  302. o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  303. o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  304. o18.Color = Color3.new(1, 0, 0)
  305. o18.Position = Vector3.new(-64.5000305, 3.50000215, -50.9999962)
  306. o19.Parent = o18
  307. table.insert(cors,coroutine.create(function()
  308. wait()
  309. runDummyScript(function()
  310. script.Parent.Touched : connect(function(Obj)
  311.     Obj.Parent.Humanoid.WalkSpeed = 0
  312.     Obj.Parent.Humanoid.JumpPower = 0
  313.     wait(1)
  314.         local Sound = script.Parent.Sound : Clone()
  315.         Sound.Parent = Obj.Parent.Head
  316.         Sound : play()
  317.         Obj.Parent.Head.face.Texture = "rbxassetid://668532120"
  318.     Obj.BrickColor = BrickColor.new("Really black")
  319.     Fire = Instance.new("Fire", Obj)
  320.     Fire.Heat = 25
  321.     Fire.Size = 15
  322.     wait(5)
  323.     Obj.Transparency = 0.5
  324.     wait(2)
  325.     Obj.Parent.Torso : Destroy()
  326.     wait(0.1)
  327.     Obj.Parent : Destroy()
  328. end)
  329.  
  330. end,o19)
  331. end))
  332. o20.Parent = o18
  333. o20.SoundId = "http://www.roblox.com/asset/?id=111896685"
  334. o20.Volume = 5
  335. o21.Parent = o1
  336. table.insert(cors,coroutine.create(function()
  337. wait()
  338. runDummyScript(function()
  339. wait(0)
  340. plr = game.Players.LocalPlayer
  341. while true do
  342.     if plr.Character.Humanoid.Health == 0 then
  343.         script.Parent : Destroy()
  344.     end
  345.     wait(0)
  346. end
  347. end,o21)
  348. end))
  349. mas.Parent = workspace
  350. mas:MakeJoints()
  351. local mas1 = mas:GetChildren()
  352. for i=1,#mas1 do
  353.     mas1[i].Parent = workspace
  354.     ypcall(function() mas1[i]:MakeJoints() end)
  355. end
  356. mas:Destroy()
  357. for i=1,#cors do
  358. coroutine.resume(cors[i])
  359. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement