TheUnknownDiscord

fridg

Nov 8th, 2021 (edited)
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. random = math.random(1,5)
  2. toolout = false
  3. local tweenService = game:GetService("TweenService")
  4. Tool = Instance.new("Tool")
  5. Part1 = Instance.new("Part")
  6. Part1.Name = "Handle"
  7. Part1.Parent = Tool
  8. Part2 = Instance.new("Part")
  9. Part2.Parent = Part1
  10. Part2.CanTouch = false
  11. Part2.CanCollide = false
  12. Part2.Massless = true
  13. Part1.Transparency = 1
  14. Part1.Size = Vector3.new(3.3 * 0.5, 7.7* 0.5 ,3.96 * 0.5)
  15. pcall(function()
  16. fridg = Instance.new("Sound",Part1)
  17. fridg.SoundId = "rbxassetid://5082737062"
  18. fridg.Volume = 2
  19. fridg.Looped = true
  20. fridg:Play()
  21. end)
  22. weld = Instance.new("Weld",Part1)
  23. weld.Part0 = Part2
  24. weld.Part1 = Part1
  25. weld.C0 = Part1.CFrame * CFrame.Angles(0,0,math.rad(-90)) * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),0,0)
  26. Mesh2 = Instance.new("SpecialMesh")
  27. Mesh2.Parent = Part2
  28. Mesh2.MeshId = "http://www.roblox.com/asset/?id=473465434"
  29. Mesh2.TextureId = "http://www.roblox.com/asset/?id=473469432"
  30. Mesh2.Scale = Vector3.new(0.375 * 0.5,0.375 * 0.5,0.375 * 0.5)
  31. Part2.Size = Vector3.new(3.3 * 0.5, 3.96 * 0.5, 7.7* 0.5)
  32. Tool.Parent = owner.Character
  33. Tool.Equipped:Connect(function()
  34. toolout = true
  35. fridg:Resume()
  36. coroutine.wrap(function()
  37. while toolout do
  38. task.wait()
  39. Mesh2.Scale = Vector3.new(0.375 * 0.5,0.375 * 0.5+math.sin(tick()*5)/20,0.375 * 0.5+math.cos(tick()*2.5)/40)
  40. end
  41. end)()
  42. coroutine.wrap(function()
  43. while toolout do
  44. wait(random)
  45. local timeToFade3 = random
  46. local object3 = fridg
  47. local tweenInfo3 = TweenInfo.new(timeToFade3)
  48. local goal4 = {}
  49. goal4.PlaybackSpeed = math.random(0.5,2)
  50. local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
  51. tween4:Play()
  52. random = math.random(1,5)
  53. end
  54. end)()
  55. end)
  56. Tool.Unequipped:Connect(function()
  57. toolout = false
  58. fridg:Pause()
  59. end)
  60. Tool.Activated:Connect(function()
  61. Part = Instance.new("Part",script)
  62. Part.Size = Vector3.new(3.3, 3.96, 7.7)
  63. Part.Velocity = Vector3.new(0,-math.huge * math.huge,0)
  64. Part.Anchored = true
  65. pcall(function()
  66. death = Instance.new("Sound",Part)
  67. death.SoundId = "rbxassetid://329564183"
  68. death.Volume = 6
  69. end)
  70. game:GetService("Debris"):AddItem(Part,15)
  71. Mesh = Instance.new("SpecialMesh")
  72. Mesh.Parent = Part
  73. Mesh.MeshId = "http://www.roblox.com/asset/?id=473465434"
  74. Mesh.TextureId = "http://www.roblox.com/asset/?id=473469432"
  75. Mesh.Scale = Vector3.new(0.375,0.375,0.375)
  76. Part.CFrame = Part1.CFrame * CFrame.Angles(0,math.rad(90),0) * CFrame.new(3,1,-1.5) * CFrame.Angles(math.rad(-90),0,0)
  77. wait(0.5)
  78. local timeToFade = 1
  79. local object = Part
  80. local tweenInfo = TweenInfo.new(timeToFade)
  81. local goal = {}
  82. goal.CFrame = Part1.CFrame * CFrame.Angles(0,math.rad(90),0) * CFrame.new(100,1,-1.5) * CFrame.Angles(math.rad(-90),0,0)
  83. local tween = tweenService:Create(object, tweenInfo, goal)
  84. tween:Play()
  85. coroutine.wrap(function()
  86. while true do
  87. wait(Part.Velocity.Magnitude * -0.03125)
  88. local Flame2 = Instance.new("SpawnLocation", script)
  89. Flame2.CanTouch = false
  90. Flame2.Size = Vector3.new(1,1,1)
  91. Flame2.Neutral = false
  92. Flame2.Enabled = false
  93. Flame2.CFrame = Part.CFrame * CFrame.new(0,0,-3.85)
  94. Flame2.CanCollide = false
  95. Flame2.Color = Color3.fromRGB(255, 255, 255)
  96. Flame2.Material = "Neon"
  97. Flame2.Name = "Flameslol3"
  98. Flame2.Anchored = true
  99. game:GetService("Debris"):AddItem(Flame2,1)
  100. Flame5 = Flame2
  101. local timeToFade3 = 1
  102. local object3 = Flame2
  103. local tweenInfo3 = TweenInfo.new(timeToFade3)
  104. local goal4 = {}
  105. goal4.CFrame = Flame2.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  106. local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
  107. tween4:Play()
  108. local timeToFade4 = 1
  109. local object4 = Flame2
  110. local tweenInfo4 = TweenInfo.new(timeToFade4)
  111. local goal5 = {}
  112. goal5.Color = Color3.fromRGB(150, 150, 150)
  113. local tween5 = tweenService:Create(object4, tweenInfo4, goal5)
  114. local goal6 = {}
  115. goal6.Transparency = 1
  116. local tween6 = tweenService:Create(object4, tweenInfo4, goal6)
  117. tween5:Play()
  118. tween6:Play()
  119. end
  120. end)()
  121. coroutine.wrap(function()
  122. Part.Touched:Connect(function(hit)
  123. if hit.Name ~= "Base" then
  124. if hit.Name ~= "Walls" then
  125. if hit ~= owner.Character then
  126. hit:Destroy()
  127. death:Play()
  128. end
  129. end
  130. end
  131. end)
  132. end)()
  133. end)
  134. coroutine.wrap(function()
  135. while true do
  136. wait(0.03125)
  137. if toolout then
  138. local Flame2 = Instance.new("SpawnLocation", script)
  139. Flame2.CanTouch = false
  140. Flame2.Size = Vector3.new(0.25,0.25,0.25)
  141. Flame2.Neutral = false
  142. Flame2.Enabled = false
  143. Flame2.CFrame = Part1.CFrame * CFrame.new(math.random(-0.5,0.5),math.random(-2,2),math.random(-0.5,0.5))
  144. Flame2.CanCollide = false
  145. Flame2.Color = Color3.fromRGB(255, 255, 255)
  146. Flame2.Material = "Neon"
  147. Flame2.Name = "Flameslol3"
  148. Flame2.Anchored = true
  149. game:GetService("Debris"):AddItem(Flame2,1)
  150. Flame5 = Flame2
  151. local timeToFade3 = 1
  152. local object3 = Flame2
  153. local tweenInfo3 = TweenInfo.new(timeToFade3)
  154. local goal4 = {}
  155. goal4.CFrame = Flame2.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  156. local tween4 = tweenService:Create(object3, tweenInfo3, goal4)
  157. tween4:Play()
  158. local timeToFade4 = 1
  159. local object4 = Flame2
  160. local tweenInfo4 = TweenInfo.new(timeToFade4)
  161. local goal5 = {}
  162. goal5.Color = Color3.fromRGB(150, 150, 150)
  163. local tween5 = tweenService:Create(object4, tweenInfo4, goal5)
  164. local goal6 = {}
  165. goal6.Transparency = 1
  166. local tween6 = tweenService:Create(object4, tweenInfo4, goal6)
  167. tween5:Play()
  168. tween6:Play()
  169. end
  170. end
  171. end)()
Add Comment
Please, Sign In to add comment