Advertisement
cat568

Untitled

Feb 2nd, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.84 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. Part0 = Instance.new("Part")
  20. Smoke1 = Instance.new("Smoke")
  21. Smoke2 = Instance.new("Smoke")
  22. Smoke3 = Instance.new("Smoke")
  23. Script4 = Instance.new("Script")
  24. Script5 = Instance.new("Script")
  25. Script6 = Instance.new("Script")
  26. Script7 = Instance.new("Script")
  27. Script8 = Instance.new("Script")
  28. Sound9 = Instance.new("Sound")
  29. Script10 = Instance.new("Script")
  30. Script11 = Instance.new("Script")
  31. Script12 = Instance.new("Script")
  32. Script13 = Instance.new("Script")
  33. Script14 = Instance.new("Script")
  34. Script15 = Instance.new("Script")
  35. Script16 = Instance.new("Script")
  36. Script17 = Instance.new("Script")
  37. Script18 = Instance.new("Script")
  38. Script19 = Instance.new("Script")
  39. Script20 = Instance.new("Script")
  40. Script21 = Instance.new("Script")
  41. Script22 = Instance.new("Script")
  42. Script23 = Instance.new("Script")
  43. Script24 = Instance.new("Script")
  44. Script25 = Instance.new("Script")
  45. Script26 = Instance.new("Script")
  46. Script27 = Instance.new("Script")
  47. Script28 = Instance.new("Script")
  48. Script29 = Instance.new("Script")
  49. Script30 = Instance.new("Script")
  50. Script31 = Instance.new("Script")
  51. Script32 = Instance.new("Script")
  52. Script33 = Instance.new("Script")
  53. Script34 = Instance.new("Script")
  54. Part0.Parent = mas
  55. Part0.CFrame = CFrame.new(1.78302002, 7995.8877, 6.78114128, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  56. Part0.Position = Vector3.new(1.78302002, 7995.8877, 6.78114128)
  57. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  58. Part0.Size = Vector3.new(34, 34, 34)
  59. Part0.BottomSurface = Enum.SurfaceType.Smooth
  60. Part0.BrickColor = BrickColor.new("Dark stone grey")
  61. Part0.Material = Enum.Material.Slate
  62. Part0.TopSurface = Enum.SurfaceType.Smooth
  63. Part0.brickColor = BrickColor.new("Dark stone grey")
  64. Part0.FormFactor = Enum.FormFactor.Symmetric
  65. Part0.formFactor = Enum.FormFactor.Symmetric
  66. Part0.Shape = Enum.PartType.Ball
  67. Smoke1.Parent = Part0
  68. Smoke1.Color = Color3.new(1, 0.4, 0)
  69. Smoke1.Size = 40
  70. Smoke1.RiseVelocity = 25
  71. Smoke2.Parent = Part0
  72. Smoke2.Color = Color3.new(1, 0, 0)
  73. Smoke2.Size = 30
  74. Smoke2.RiseVelocity = 25
  75. Smoke3.Parent = Part0
  76. Smoke3.Color = Color3.new(1, 0, 0)
  77. Smoke3.Size = 40
  78. Smoke3.RiseVelocity = 25
  79. Script4.Name = "Touch"
  80. Script4.Parent = Part0
  81. table.insert(cors,sandbox(Script4,function()
  82. shockRing = Instance.new("Part")
  83. shockRing.formFactor = 2
  84. shockRing.Size = Vector3.new(50, 0.4, 50)
  85. shockRing.Anchored = true
  86. shockRing.Locked = true
  87. shockRing.CanCollide = false
  88. shockRing.archivable = false
  89. shockRing.TopSurface = 0
  90. shockRing.BottomSurface = 0
  91. shockRing.Transparency = 1
  92. local decal = Instance.new("Decal")
  93. decal.Face = 1
  94. decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
  95. decal.Parent = shockRing
  96.  
  97. local bottomDecal = decal:Clone()
  98. bottomDecal.Face = 4
  99. bottomDecal.Parent = shockRing
  100.  
  101.  
  102. debounce = true
  103. function activate(hit)
  104. if debounce == false then return end
  105. debounce = false
  106. script.Parent.Anchored = true
  107. wait(0.05)
  108. Boom2 = Instance.new("Explosion")
  109. Boom2.BlastRadius = 40
  110. Boom2.Parent = game.Workspace
  111. Boom2.Position = script.Parent.Position
  112. wait(0.5)
  113. Boom2:Remove()
  114. Boom = Instance.new("Part")
  115. Boom.Parent = game.Workspace
  116. Boom.formFactor = 0
  117. Boom.Shape = 0
  118. Boom.BrickColor = BrickColor:Yellow()
  119. Boom.Position = script.Parent.Position
  120. Boom.Transparency = 0.3
  121. Boom.Size = Vector3.new(1, 1, 1)
  122. Boom.Anchored = true
  123. Boom.TopSurface = "Smooth"
  124. Boom.BottomSurface = "Smooth"
  125. script.Parent.Transparency = 1
  126. Script = script.Parent.Explosion
  127. SC = Script:clone()
  128. SC.Disabled = false
  129. SC.Parent = Boom
  130. Grow = script.Parent.Grow
  131. GC = Grow:clone()
  132. GC.Disabled = false
  133. GC.Parent = Boom
  134. Stay = script.Parent.Stay
  135. SC = Stay:clone()
  136. SC.Disabled = false
  137. SC.Parent = Boom
  138. Boom2 = Instance.new("Explosion")
  139. Boom2.BlastRadius = 40
  140. Boom2.Position = script.Parent.Position
  141. pos = script.Parent.Position
  142. shockRing.Position = pos
  143. shockRing.Parent = game.Workspace
  144. Grow2 = script.Parent.Grow2
  145. G2C = Grow2:clone()
  146. G2C.Disabled = false
  147. G2C.Parent = shockRing
  148. Script2 = script.Parent.Explosion
  149. S2C = Script2:clone()
  150. S2C.Disabled = false
  151. S2C.Parent = shockRing
  152. Stay2 = script.Parent.Stay
  153. S2C = Stay:clone()
  154. S2C.Disabled = false
  155. S2C.Parent = shockRing
  156. wait(0.5)
  157. Boom2:Remove()
  158. wait(5)
  159. script.Parent.Parent:Remove()
  160. wait(100)
  161. end
  162.  
  163. script.Parent.Touched:connect(activate)
  164.  
  165. end))
  166. Script5.Name = "Stay"
  167. Script5.Parent = Part0
  168. table.insert(cors,sandbox(Script5,function()
  169. wait(0.1)
  170. pos = script.Parent.CFrame
  171. while true do
  172. script.Parent.CFrame = pos
  173. wait(0.000000000000000000000000000000000000000000000000001)
  174. end
  175.  
  176. end))
  177. Script5.Disabled = true
  178. Script6.Name = "Grow2"
  179. Script6.Parent = Part0
  180. table.insert(cors,sandbox(Script6,function()
  181. wait(0.1)
  182. Boom = script.Parent
  183. for i = 1, 400 do
  184. Boom.Size = Boom.Size + Vector3.new(1, 0, 1)
  185. wait(0.01)
  186. end
  187. Boom:Remove()
  188. end))
  189. Script6.Disabled = true
  190. Script7.Name = "Grow"
  191. Script7.Parent = Part0
  192. table.insert(cors,sandbox(Script7,function()
  193. wait(0.1)
  194. Boom = script.Parent
  195. for i = 1, 400 do
  196. Boom.Size = Boom.Size + Vector3.new(1, 1, 1)
  197. wait(0.01)
  198. end
  199. Boom:Remove()
  200. end))
  201. Script7.Disabled = true
  202. Script8.Name = "Explosion"
  203. Script8.Parent = Part0
  204. table.insert(cors,sandbox(Script8,function()
  205. wait(0)
  206. function destroy(hit)
  207.  
  208. Boom = Instance.new("Explosion")
  209. Boom.Parent = game.Workspace
  210. Boom.Position = hit.Position
  211. wait(1)
  212. Boom:Remove()
  213. end
  214.  
  215. script.Parent.Touched:connect(destroy)
  216.  
  217. end))
  218. Script8.Disabled = true
  219. Sound9.Parent = Part0
  220. Sound9.MaxDistance = 9.9999998430675e+16
  221. Sound9.SoundId = "rbxassetid://136726021"
  222. Sound9.Volume = 10
  223. Script10.Name = "fek"
  224. Script10.Parent = Part0
  225. table.insert(cors,sandbox(Script10,function()
  226. function onTouched(hit)
  227. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  228. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  229. end
  230. script.Parent.Touched:connect(onTouched)
  231.  
  232.  
  233. end))
  234. Script11.Name = "fek"
  235. Script11.Parent = Part0
  236. table.insert(cors,sandbox(Script11,function()
  237. function onTouched(hit)
  238. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  239. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  240. end
  241. script.Parent.Touched:connect(onTouched)
  242.  
  243.  
  244. end))
  245. Script12.Name = "fek"
  246. Script12.Parent = Part0
  247. table.insert(cors,sandbox(Script12,function()
  248. function onTouched(hit)
  249. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  250. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  251. end
  252. script.Parent.Touched:connect(onTouched)
  253.  
  254.  
  255. end))
  256. Script13.Name = "fek"
  257. Script13.Parent = Part0
  258. table.insert(cors,sandbox(Script13,function()
  259. function onTouched(hit)
  260. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  261. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  262. end
  263. script.Parent.Touched:connect(onTouched)
  264.  
  265.  
  266. end))
  267. Script14.Name = "fek"
  268. Script14.Parent = Part0
  269. table.insert(cors,sandbox(Script14,function()
  270. function onTouched(hit)
  271. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  272. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  273. end
  274. script.Parent.Touched:connect(onTouched)
  275.  
  276.  
  277. end))
  278. Script15.Name = "fek"
  279. Script15.Parent = Part0
  280. table.insert(cors,sandbox(Script15,function()
  281. function onTouched(hit)
  282. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  283. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  284. end
  285. script.Parent.Touched:connect(onTouched)
  286.  
  287.  
  288. end))
  289. Script16.Name = "fek"
  290. Script16.Parent = Part0
  291. table.insert(cors,sandbox(Script16,function()
  292. function onTouched(hit)
  293. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  294. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  295. end
  296. script.Parent.Touched:connect(onTouched)
  297.  
  298.  
  299. end))
  300. Script17.Name = "fek"
  301. Script17.Parent = Part0
  302. table.insert(cors,sandbox(Script17,function()
  303. function onTouched(hit)
  304. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  305. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  306. end
  307. script.Parent.Touched:connect(onTouched)
  308.  
  309.  
  310. end))
  311. Script18.Name = "fek"
  312. Script18.Parent = Part0
  313. table.insert(cors,sandbox(Script18,function()
  314. function onTouched(hit)
  315. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  316. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  317. end
  318. script.Parent.Touched:connect(onTouched)
  319.  
  320.  
  321. end))
  322. Script19.Name = "fek"
  323. Script19.Parent = Part0
  324. table.insert(cors,sandbox(Script19,function()
  325. function onTouched(hit)
  326. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  327. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  328. end
  329. script.Parent.Touched:connect(onTouched)
  330.  
  331.  
  332. end))
  333. Script20.Name = "fek"
  334. Script20.Parent = Part0
  335. table.insert(cors,sandbox(Script20,function()
  336. function onTouched(hit)
  337. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  338. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  339. end
  340. script.Parent.Touched:connect(onTouched)
  341.  
  342.  
  343. end))
  344. Script21.Name = "fek"
  345. Script21.Parent = Part0
  346. table.insert(cors,sandbox(Script21,function()
  347. function onTouched(hit)
  348. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  349. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  350. end
  351. script.Parent.Touched:connect(onTouched)
  352.  
  353.  
  354. end))
  355. Script22.Name = "fek"
  356. Script22.Parent = Part0
  357. table.insert(cors,sandbox(Script22,function()
  358. function onTouched(hit)
  359. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  360. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  361. end
  362. script.Parent.Touched:connect(onTouched)
  363.  
  364.  
  365. end))
  366. Script23.Name = "fek"
  367. Script23.Parent = Part0
  368. table.insert(cors,sandbox(Script23,function()
  369. function onTouched(hit)
  370. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  371. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  372. end
  373. script.Parent.Touched:connect(onTouched)
  374.  
  375.  
  376. end))
  377. Script24.Name = "fek"
  378. Script24.Parent = Part0
  379. table.insert(cors,sandbox(Script24,function()
  380. function onTouched(hit)
  381. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  382. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  383. end
  384. script.Parent.Touched:connect(onTouched)
  385.  
  386.  
  387. end))
  388. Script25.Name = "fek"
  389. Script25.Parent = Part0
  390. table.insert(cors,sandbox(Script25,function()
  391. function onTouched(hit)
  392. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  393. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  394. end
  395. script.Parent.Touched:connect(onTouched)
  396.  
  397.  
  398. end))
  399. Script26.Name = "fek"
  400. Script26.Parent = Part0
  401. table.insert(cors,sandbox(Script26,function()
  402. function onTouched(hit)
  403. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  404. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  405. end
  406. script.Parent.Touched:connect(onTouched)
  407.  
  408.  
  409. end))
  410. Script27.Name = "fek"
  411. Script27.Parent = Part0
  412. table.insert(cors,sandbox(Script27,function()
  413. function onTouched(hit)
  414. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  415. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  416. end
  417. script.Parent.Touched:connect(onTouched)
  418.  
  419.  
  420. end))
  421. Script28.Name = "fek"
  422. Script28.Parent = Part0
  423. table.insert(cors,sandbox(Script28,function()
  424. function onTouched(hit)
  425. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  426. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  427. end
  428. script.Parent.Touched:connect(onTouched)
  429.  
  430.  
  431. end))
  432. Script29.Name = "fek"
  433. Script29.Parent = Part0
  434. table.insert(cors,sandbox(Script29,function()
  435. function onTouched(hit)
  436. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  437. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  438. end
  439. script.Parent.Touched:connect(onTouched)
  440.  
  441.  
  442. end))
  443. Script30.Name = "fek"
  444. Script30.Parent = Part0
  445. table.insert(cors,sandbox(Script30,function()
  446. function onTouched(hit)
  447. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  448. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  449. end
  450. script.Parent.Touched:connect(onTouched)
  451.  
  452.  
  453. end))
  454. Script31.Name = "fek"
  455. Script31.Parent = Part0
  456. table.insert(cors,sandbox(Script31,function()
  457. function onTouched(hit)
  458. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  459. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  460. end
  461. script.Parent.Touched:connect(onTouched)
  462.  
  463.  
  464. end))
  465. Script32.Name = "fek"
  466. Script32.Parent = Part0
  467. table.insert(cors,sandbox(Script32,function()
  468. function onTouched(hit)
  469. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  470. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  471. end
  472. script.Parent.Touched:connect(onTouched)
  473.  
  474.  
  475. end))
  476. Script33.Name = "fek"
  477. Script33.Parent = Part0
  478. table.insert(cors,sandbox(Script33,function()
  479. function onTouched(hit)
  480. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  481. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  482. end
  483. script.Parent.Touched:connect(onTouched)
  484.  
  485.  
  486. end))
  487. Script34.Name = "fek"
  488. Script34.Parent = Part0
  489. table.insert(cors,sandbox(Script34,function()
  490. function onTouched(hit)
  491. wait(0) --Change the 0 to however long you want the sound to be delayed in seconds.
  492. script.Parent.Sound:play() --copy and paste this and the line above it to make the sound repeat.
  493. end
  494. script.Parent.Touched:connect(onTouched)
  495.  
  496.  
  497. end))
  498. for i,v in pairs(mas:GetChildren()) do
  499. v.Parent = workspace
  500. pcall(function() v:MakeJoints() end)
  501. end
  502. mas:Destroy()
  503. for i,v in pairs(cors) do
  504. spawn(function()
  505. pcall(v)
  506. end)
  507. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement