Advertisement
TheUnknownDiscord

fire

Nov 7th, 2021 (edited)
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db2 = false
  2. local tweenService = game:GetService("TweenService")
  3. Part1 = Instance.new("Part")
  4. Part1.Transparency = 1
  5. Part1.Parent = script
  6. Part1.Size = Vector3.new(5,1,5)
  7. Part1.CanTouch = false
  8. Part1.Massless = true
  9. Part1.CFrame = CFrame.new(0,1,10)
  10. Part1.Anchored = true
  11. for i = 1,10 do
  12. Part2 = Instance.new("Part")
  13. Part2.Parent = script
  14. Part2.Size = Vector3.new(1,1,2)
  15. Part2.CanTouch = false
  16. Part2.Massless = true
  17. Part2.CFrame = Part1.CFrame * CFrame.new(math.random(-1,1),0,math.random(-1,1)) * CFrame.Angles(math.rad(math.random(-35,35)),math.rad(math.random(-35,35)),math.rad(math.random(-35,35)))
  18. Part2.Anchored = true
  19. end
  20. on = false
  21. toolout = false
  22. airblast = false
  23. on2 = false
  24. on = true
  25. while true do
  26. wait(0.03125)
  27. local Flame = Instance.new("SpawnLocation", owner.Character)
  28. Flame.Size = Vector3.new(1,1,1)
  29. Flame.Neutral = false
  30. Flame.Enabled = false
  31. Flame.CFrame = Part1.CFrame
  32. Flame.CanCollide = false
  33. Flame.Color = Color3.fromRGB(255, 50, 50)
  34. Flame.Material = "Neon"
  35. Flame.Name = "Flameslol2"
  36. Flame.Anchored = true
  37. game:GetService("Debris"):AddItem(Flame,2)
  38. local timeToFade = 2
  39. local object = Flame
  40. local tweenInfo = TweenInfo.new(timeToFade)
  41. local goal = {}
  42. goal.CFrame = Flame.CFrame * CFrame.new(math.random(-1,1),1,math.random(-1,1)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  43. local tween = tweenService:Create(object, tweenInfo, goal)
  44. tween:Play()
  45. local timeToFade2 = 2
  46. local object2 = Flame
  47. local tweenInfo2 = TweenInfo.new(timeToFade2)
  48. local goal2 = {}
  49. goal2.Color = Color3.fromRGB(255, 155, 0)
  50. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  51. local goal3 = {}
  52. goal3.Transparency = 1
  53. local tween3 = tweenService:Create(object2, tweenInfo2, goal3)
  54. tween2:Play()
  55. tween3:Play()
  56. coroutine.wrap(function()
  57. wait()
  58. Flame.Touched:Connect(function(hit)
  59. if hit.Name ~= "Base" then
  60. if hit.Name ~= "Flameslol" or hit.Name ~= "Flameslol2" or hit.Name ~= "Comedy" or hit.Name ~= "Handle" or hit ~= owner.Character:GetDescendants() then
  61. if not db2 then
  62. db2 = true
  63. for i = 1, 40 do
  64. wait(0.0625)
  65. local Flame2 = Instance.new("SpawnLocation", script)
  66. Flame2.Size = Vector3.new(1,1,1)
  67. Flame2.Neutral = false
  68. Flame2.Enabled = false
  69. Flame2.CFrame = hit.CFrame * CFrame.new(0,2,0)
  70. Flame2.CanCollide = false
  71. Flame2.Color = Color3.fromRGB(255, 50, 50)
  72. Flame2.Material = "Neon"
  73. coroutine.wrap(function()
  74. wait()
  75. Flame2.Touched:Connect(function(hit)
  76. if hit.Name ~= "Base" then
  77. if hit.Name ~= "Flameslol" or hit.Name ~= "Flameslol2" or hit.Name ~= "Comedy" or hit.Name ~= "Handle" or hit ~= owner.Character:GetDescendants() then
  78. if not db2 then
  79. db2 = true
  80. for i = 1, 40 do
  81. wait(0.0625)
  82. pcall(function()
  83. Flame5 = Flame2:Clone()
  84. Flame5.Transparency = 0
  85. end)
  86. local timeToFade3 = 2
  87. local object3 = Flame5
  88. local tweenInfo3 = TweenInfo.new(timeToFade3)
  89. local goal4 = {}
  90. goal4.CFrame = Flame5.CFrame * CFrame.new(math.random(-3,3),3.5,math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  91. local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
  92. tween4:Play()
  93. local timeToFade4 = 2
  94. local object4 = Flame5
  95. local tweenInfo4 = TweenInfo.new(timeToFade4)
  96. local goal5 = {}
  97. goal5.Color = Color3.fromRGB(255, 155, 0)
  98. local tween5 = tweenService:Create(object4, tweenInfo4, goal5)
  99. local goal6 = {}
  100. goal6.Transparency = 1
  101. local tween6 = tweenService:Create(object4, tweenInfo4, goal6)
  102. tween5:Play()
  103. tween6:Play()
  104. if i == 1 then
  105. pcall(function()
  106. local AAAAAAIMBURNING = Instance.new("Sound", hit)
  107. AAAAAAIMBURNING.SoundId = "rbxassetid://158853971"
  108. AAAAAAIMBURNING.Volume = 2.75
  109. AAAAAAIMBURNING.Looped = true
  110. AAAAAAIMBURNING:Play()
  111. end)
  112. local timeToFade5 = 7.5
  113. local object5 = hit
  114. local tweenInfo5 = TweenInfo.new(timeToFade5)
  115. local goal7 = {}
  116. goal7.Color = Color3.fromRGB(0,0,0)
  117. local tween7 = tweenService:Create(object5, tweenInfo5, goal7)
  118. tween7:Play()
  119. elseif i == 10 then
  120. db2 = false
  121. elseif i == 40 then
  122. hit:Destroy()
  123. end
  124. end
  125. end
  126. end
  127. end
  128. end)
  129. end)()
  130. local timeToFade3 = 2
  131. local object3 = Flame2
  132. local tweenInfo3 = TweenInfo.new(timeToFade3)
  133. local goal4 = {}
  134. goal4.CFrame = Flame2.CFrame * CFrame.new(math.random(-3,3),3.5,math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  135. local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
  136. tween4:Play()
  137. local timeToFade4 = 2
  138. local object4 = Flame2
  139. local tweenInfo4 = TweenInfo.new(timeToFade4)
  140. local goal5 = {}
  141. goal5.Color = Color3.fromRGB(255, 155, 0)
  142. local tween5 = tweenService:Create(object4, tweenInfo4, goal5)
  143. local goal6 = {}
  144. goal6.Transparency = 1
  145. local tween6 = tweenService:Create(object4, tweenInfo4, goal6)
  146. tween5:Play()
  147. tween6:Play()
  148. if i == 1 then
  149. pcall(function()
  150. local AAAAAAIMBURNING = Instance.new("Sound", hit)
  151. AAAAAAIMBURNING.SoundId = "rbxassetid://158853971"
  152. AAAAAAIMBURNING.Volume = 2.75
  153. AAAAAAIMBURNING.Looped = true
  154. AAAAAAIMBURNING:Play()
  155. end)
  156. local timeToFade5 = 7.5
  157. local object5 = hit
  158. local tweenInfo5 = TweenInfo.new(timeToFade5)
  159. local goal7 = {}
  160. goal7.Color = Color3.fromRGB(0,0,0)
  161. local tween7 = tweenService:Create(object5, tweenInfo5, goal7)
  162. tween7:Play()
  163. elseif i == 10 then
  164. db2 = false
  165. elseif i == 40 then
  166. hit:Destroy()
  167. end
  168. end
  169. end
  170. end
  171. end
  172. end)
  173. end)()
  174. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement