Advertisement
FireBlazer_Scripting

Untitled

Jan 28th, 2017
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.15 KB | None | 0 0
  1. -----------------------------(FireBlazer w/ MarineU1)------------------------------------------
  2. -- My troll script.
  3. -- Feel free to use.
  4. -------------------------------[Put stuff here if you wanna edit.]-----------------------------------------------
  5.  
  6. ------------------------------{ Now for the real fun!}-----------------------------------------
  7.  
  8. Create = function(itemClass,tabl)
  9. local item = Instance.new(itemClass)
  10. for i,v in pairs(tabl) do
  11. local a,b = ypcall(function() return item[i] end)
  12. if a then
  13. item[i] = tabl[i]
  14. end
  15. end
  16. return item
  17. end
  18. function runDummyScript(f,scri)
  19. local oldenv = getfenv(f)
  20. local newenv = setmetatable({}, {
  21. __index = function(_, k)
  22. if k:lower() == 'script' then
  23. return scri
  24. else
  25. return oldenv[k]
  26. end
  27. end
  28. })
  29. setfenv(f, newenv)
  30. ypcall(function() f() end)
  31. end
  32. cors = {}
  33. mas = Instance.new("Model",game:GetService("Lighting"))
  34. mas.Name = "CompiledModel"
  35. o1 = Create("Model",{
  36. ["Name"] = "Nuke",
  37. ["Parent"] = mas,
  38. })
  39. o2 = Create("Part",{
  40. ["Name"] = "Tip",
  41. ["Parent"] = o1,
  42. ["BrickColor"] = BrickColor.new("Black"),
  43. ["Position"] = Vector3.new(44.9099045, 5908.60059, 31.0297127),
  44. ["CFrame"] = CFrame.new(44.9099045, 5908.60059, 31.0297127, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  45. ["FormFactor"] = Enum.FormFactor.Symmetric,
  46. ["Size"] = Vector3.new(6, 10, 6),
  47. ["BackSurface"] = Enum.SurfaceType.Weld,
  48. ["BottomSurface"] = Enum.SurfaceType.Weld,
  49. ["FrontSurface"] = Enum.SurfaceType.Weld,
  50. ["LeftSurface"] = Enum.SurfaceType.Weld,
  51. ["RightSurface"] = Enum.SurfaceType.Weld,
  52. ["TopSurface"] = Enum.SurfaceType.Weld,
  53. ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
  54. })
  55. o3 = Create("Script",{
  56. ["Name"] = "Touch",
  57. ["Parent"] = o2,
  58. })
  59. table.insert(cors,coroutine.create(function()
  60. wait()
  61. runDummyScript(function()
  62. shockRing = Instance.new("Part")
  63. shockRing.formFactor = 2
  64. shockRing.Size = Vector3.new(50, 0.4, 50)
  65. shockRing.Anchored = true
  66. shockRing.Locked = true
  67. shockRing.CanCollide = false
  68. shockRing.archivable = false
  69. shockRing.TopSurface = 0
  70. shockRing.BottomSurface = 0
  71. shockRing.Transparency = 1
  72.  
  73. local decal = Instance.new("Decal")
  74. decal.Face = 1
  75. decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
  76. decal.Parent = shockRing
  77.  
  78. local bottomDecal = decal:Clone()
  79. bottomDecal.Face = 4
  80. bottomDecal.Parent = shockRing
  81.  
  82. debounce = true
  83. function activate(hit)
  84. if debounce == false then return end
  85. debounce = false
  86. script.Parent.Parent.Fire:play()
  87. game.Lighting.Brightness = 999
  88. grow3 = script.Parent.Grow3:clone()
  89. grow3.Disabled = false
  90. grow3.Grow4.Disabled = false
  91. grow3.Parent = script.Parent.Parent.ShockWave
  92. stay2 = script.Parent.Stay:clone()
  93. stay2.Disabled = false
  94. stay2.Parent = script.Parent.Parent.ShockWave
  95. script.Parent.Parent.ShockWave.Anchored = true
  96. script.Parent.Parent.ShockWave.Transparency = 0
  97. script.Parent.Anchored = true
  98. script.Parent.Parent.Cloud.Anchored = true
  99. script.Parent.Parent.Cloud.Transparency = 0
  100. script.Parent.Parent.Cloud2.Anchored = true
  101. script.Parent.Parent.Support.Anchored = true
  102. script.Parent.Parent.Support.Size = Vector3.new(2,175,2)
  103. script.Parent.Parent.Cloud2.Position = script.Parent.Parent.Support.Position
  104. script.Parent.Parent.Cloud2.Transparency = 0
  105. wait(0.05)
  106. --Boom2 = Instance.new("Explosion")
  107. --Boom2.BlastRadius = 40
  108. --Boom2.Parent = game.Workspace
  109. --Boom2.Position = script.Parent.Position
  110. wait(0.5)
  111. --Boom2:Remove()
  112. --Boom = Instance.new("Part")
  113. --Boom.Parent = game.Workspace
  114. --Boom.formFactor = 0
  115. --Boom.Shape = 0
  116. --Boom.BrickColor = BrickColor:Red()
  117. --Boom.Position = script.Parent.Position
  118. --Boom.Transparency = 1
  119. --Boom.Size = Vector3.new(1, 1, 1)
  120. --Boom.Anchored = true
  121. --Boom.TopSurface = "Smooth"
  122. --Boom.BottomSurface = "Smooth"
  123. --script.Parent.Transparency = 1
  124. --Script = script.Parent.Explosion
  125. --SC = Script:clone()
  126. --SC.Disabled = false
  127. --SC.Parent = Boom
  128. --Grow = script.Parent.Grow
  129. --GC = Grow:clone()
  130. --GC.Disabled = false
  131. --GC.Parent = Boom
  132. --Stay = script.Parent.Stay
  133. --SC = Stay:clone()
  134. --SC.Disabled = false
  135. --SC.Parent = Boom
  136. --Boom2 = Instance.new("Explosion")
  137. --Boom2.BlastRadius = 40
  138. --Boom2.Position = script.Parent.Position
  139. --pos = script.Parent.Position
  140. --shockRing.Position = pos
  141. --shockRing.Parent = game.Workspace
  142. --Grow2 = script.Parent.Grow2
  143. --G2C = Grow2:clone()
  144. --G2C.Disabled = false
  145. --G2C.Parent = shockRing
  146. --Script2 = script.Parent.Explosion
  147. --S2C = Script2:clone()
  148. --S2C.Disabled = false
  149. --S2C.Parent = shockRing
  150. --Stay2 = script.Parent.Stay
  151. --S2C = Stay:clone()
  152. --S2C.Disabled = false
  153. --S2C.Parent = shockRing
  154. wait(0.5)
  155. game.Lighting.Brightness = 1
  156. --Boom2:Remove()
  157. wait(7)
  158. script.Parent.Parent.Fire:remove()
  159. script.Parent.Parent:Remove()
  160. wait(100)
  161. end
  162.  
  163. script.Parent.Touched:connect(activate)
  164.  
  165. end,o3)
  166. end))
  167. o4 = Create("Script",{
  168. ["Name"] = "Stay",
  169. ["Parent"] = o2,
  170. ["Disabled"] = true,
  171. })
  172. table.insert(cors,coroutine.create(function()
  173. wait()
  174. runDummyScript(function()
  175. wait(0.1)
  176. pos = script.Parent.CFrame
  177. while true do
  178. script.Parent.CFrame = pos
  179. wait(0.000000000000000000000000000000000000000000000000001)
  180. end
  181.  
  182. end,o4)
  183. end))
  184. o5 = Create("Script",{
  185. ["Name"] = "Grow",
  186. ["Parent"] = o2,
  187. ["Disabled"] = true,
  188. })
  189. table.insert(cors,coroutine.create(function()
  190. wait()
  191. runDummyScript(function()
  192. wait(0.1)
  193. Boom = script.Parent
  194. for i = 1, 200 do
  195. Boom.Size = Boom.Size + Vector3.new(1, 1, 1)
  196. wait(0.01)
  197. end
  198. Boom:Remove()
  199. end,o5)
  200. end))
  201. o6 = Create("Script",{
  202. ["Name"] = "Explosion",
  203. ["Parent"] = o2,
  204. ["Disabled"] = true,
  205. })
  206. table.insert(cors,coroutine.create(function()
  207. wait()
  208. runDummyScript(function()
  209. wait(0.1)
  210. function destroy(hit)
  211. Boom = Instance.new("Explosion")
  212. Boom.Parent = game.Workspace
  213. Boom.Parent.BlastRadius = 200
  214. Boom.Position = hit.Position
  215. wait(1)
  216. Boom:Remove()
  217. end
  218.  
  219. script.Parent.Touched:connect(destroy)
  220.  
  221. end,o6)
  222. end))
  223. o7 = Create("Script",{
  224. ["Name"] = "Grow3",
  225. ["Parent"] = o2,
  226. ["Disabled"] = true,
  227. })
  228. table.insert(cors,coroutine.create(function()
  229. wait()
  230. runDummyScript(function()
  231. wait(0.1)
  232. Boom = script.Parent
  233. Boom.Mesh.Scale = Vector3.new(1, 1, 500)
  234. for i = 1, 700 do
  235. Boom.Mesh.Scale = Boom.Mesh.Scale + Vector3.new(3, 3, 0)
  236. wait(0.0001)
  237. end
  238. Boom:Remove()
  239. end,o7)
  240. end))
  241. o8 = Create("Script",{
  242. ["Name"] = "Grow4",
  243. ["Parent"] = o7,
  244. ["Disabled"] = true,
  245. })
  246. table.insert(cors,coroutine.create(function()
  247. wait()
  248. runDummyScript(function()
  249. wait(0.1)
  250. Boom = script.Parent.Parent
  251. for i = 1, 700 do
  252. Boom.Size = Boom.Size + Vector3.new(3, 3, 0)
  253. wait(0.0001)
  254. end
  255. Boom:Remove()
  256. end,o8)
  257. end))
  258. o9 = Create("Script",{
  259. ["Name"] = "Grow2",
  260. ["Parent"] = o2,
  261. ["Disabled"] = true,
  262. })
  263. table.insert(cors,coroutine.create(function()
  264. wait()
  265. runDummyScript(function()
  266. wait(0.1)
  267. Boom = script.Parent
  268. for i = 1, 200 do
  269. Boom.Size = Boom.Size + Vector3.new(3, 0, 3)
  270. wait(0.01)
  271. end
  272. Boom:Remove()
  273. end,o9)
  274. end))
  275. o10 = Create("SpecialMesh",{
  276. ["Parent"] = o2,
  277. ["MeshId"] = "http://www.roblox.com/asset/?id=31601976",
  278. ["Scale"] = Vector3.new(5, 5, 5),
  279. ["TextureId"] = "http://www.roblox.com/asset/?id=31601599",
  280. ["MeshType"] = Enum.MeshType.FileMesh,
  281. })
  282. o11 = Create("Sound",{
  283. ["Name"] = "Fire",
  284. ["Parent"] = o1,
  285. ["Pitch"] = 0.20000000298023,
  286. ["SoundId"] = "http://www.roblox.com/asset?id=566580409",
  287. ["Volume"] = 5,
  288. })
  289. o12 = Create("Part",{
  290. ["Name"] = "ShockWave",
  291. ["Parent"] = o1,
  292. ["BrickColor"] = BrickColor.new("Dark stone grey"),
  293. ["Transparency"] = 1,
  294. ["Position"] = Vector3.new(44.9099045, 5903.10059, 31.0297127),
  295. ["Rotation"] = Vector3.new(-90, 0, -0),
  296. ["CFrame"] = CFrame.new(44.9099045, 5903.10059, 31.0297127, 1, 0, 0, 0, 0, 1, 0, -1, 0),
  297. ["CanCollide"] = false,
  298. ["Size"] = Vector3.new(2, 2.4000001, 1),
  299. ["BackSurface"] = Enum.SurfaceType.Weld,
  300. ["BottomSurface"] = Enum.SurfaceType.Weld,
  301. ["FrontSurface"] = Enum.SurfaceType.Weld,
  302. ["LeftSurface"] = Enum.SurfaceType.Weld,
  303. ["RightSurface"] = Enum.SurfaceType.Weld,
  304. ["TopSurface"] = Enum.SurfaceType.Weld,
  305. ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
  306. })
  307. o13 = Create("SpecialMesh",{
  308. ["Parent"] = o12,
  309. ["MeshId"] = "http://www.roblox.com/asset/?id=3270017",
  310. ["MeshType"] = Enum.MeshType.FileMesh,
  311. })
  312. o14 = Create("Part",{
  313. ["Name"] = "Gyro",
  314. ["Parent"] = o1,
  315. ["BrickColor"] = BrickColor.new("Bright blue"),
  316. ["Transparency"] = 1,
  317. ["Position"] = Vector3.new(44.9099045, 5914.10059, 31.0297127),
  318. ["Rotation"] = Vector3.new(-180, 0, -180),
  319. ["CFrame"] = CFrame.new(44.9099045, 5914.10059, 31.0297127, -1, 0, 0, 0, 1, 0, 0, 0, -1),
  320. ["FormFactor"] = Enum.FormFactor.Symmetric,
  321. ["Size"] = Vector3.new(2, 1, 2),
  322. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  323. })
  324. o15 = Create("ClickDetector",{
  325. ["Parent"] = o14,
  326. })
  327. o16 = Create("BodyGyro",{
  328. ["Parent"] = o14,
  329. })
  330. o17 = Create("Part",{
  331. ["Name"] = "Cloud",
  332. ["Parent"] = o1,
  333. ["BrickColor"] = BrickColor.new("Dark stone grey"),
  334. ["Transparency"] = 1,
  335. ["Position"] = Vector3.new(44.9099045, 5915.60059, 31.0297127),
  336. ["Rotation"] = Vector3.new(-90, 90, 0),
  337. ["CFrame"] = CFrame.new(44.9099045, 5915.60059, 31.0297127, 0, 0, 1, -1, 0, 0, 0, -1, 0),
  338. ["CanCollide"] = false,
  339. ["FormFactor"] = Enum.FormFactor.Symmetric,
  340. ["Size"] = Vector3.new(2, 2, 2),
  341. ["BackSurface"] = Enum.SurfaceType.Weld,
  342. ["BottomSurface"] = Enum.SurfaceType.Weld,
  343. ["FrontSurface"] = Enum.SurfaceType.Weld,
  344. ["LeftSurface"] = Enum.SurfaceType.Weld,
  345. ["RightSurface"] = Enum.SurfaceType.Weld,
  346. ["TopSurface"] = Enum.SurfaceType.Weld,
  347. ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
  348. })
  349. o18 = Create("SpecialMesh",{
  350. ["Parent"] = o17,
  351. ["MeshId"] = "http://www.roblox.com/asset/?id=1095708",
  352. ["Scale"] = Vector3.new(300, 100, 100),
  353. ["TextureId"] = "http://www.roblox.com/asset/?id=0",
  354. ["MeshType"] = Enum.MeshType.FileMesh,
  355. })
  356. o19 = Create("Part",{
  357. ["Name"] = "Cloud2",
  358. ["Parent"] = o1,
  359. ["BrickColor"] = BrickColor.new("Dark stone grey"),
  360. ["Transparency"] = 1,
  361. ["Position"] = Vector3.new(44.9099045, 5918.00098, 31.0297127),
  362. ["Rotation"] = Vector3.new(-90, 90, 0),
  363. ["CFrame"] = CFrame.new(44.9099045, 5918.00098, 31.0297127, 0, 0, 1, -1, 0, 0, 0, -1, 0),
  364. ["CanCollide"] = false,
  365. ["FormFactor"] = Enum.FormFactor.Symmetric,
  366. ["Size"] = Vector3.new(2, 2, 2),
  367. ["BackSurface"] = Enum.SurfaceType.Weld,
  368. ["BottomSurface"] = Enum.SurfaceType.Weld,
  369. ["FrontSurface"] = Enum.SurfaceType.Weld,
  370. ["LeftSurface"] = Enum.SurfaceType.Weld,
  371. ["RightSurface"] = Enum.SurfaceType.Weld,
  372. ["TopSurface"] = Enum.SurfaceType.Weld,
  373. ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
  374. })
  375. o20 = Create("SpecialMesh",{
  376. ["Parent"] = o19,
  377. ["MeshId"] = "http://www.roblox.com/asset/?id=1095708",
  378. ["Scale"] = Vector3.new(50, 500, 500),
  379. ["TextureId"] = "http://www.roblox.com/asset/?id=0",
  380. ["MeshType"] = Enum.MeshType.FileMesh,
  381. })
  382. o21 = Create("Part",{
  383. ["Name"] = "Support",
  384. ["Parent"] = o1,
  385. ["BrickColor"] = BrickColor.new("Bright blue"),
  386. ["Transparency"] = 1,
  387. ["Position"] = Vector3.new(44.9099045, 5916.80078, 31.0297127),
  388. ["CFrame"] = CFrame.new(44.9099045, 5916.80078, 31.0297127, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  389. ["FormFactor"] = Enum.FormFactor.Plate,
  390. ["Size"] = Vector3.new(2, 0.400000006, 2),
  391. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  392. })
  393. mas.Parent = workspace
  394. mas:MakeJoints()
  395. local mas1 = mas:GetChildren()
  396. for i=1,#mas1 do
  397. mas1[i].Parent = script
  398. ypcall(function() mas1[i]:MakeJoints() end)
  399. end
  400. mas:Destroy()
  401. for i=1,#cors do
  402. coroutine.resume(cors[i])
  403. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement