Advertisement
IHATEMICROWAVEOVEN

splash 2

Oct 6th, 2022
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. -- SETTINGS
  2. local newjumppower = 0
  3. local size = Vector3.new(8,8,8)
  4. local color = BrickColor.new("Plum")
  5. local transparency = 0.1
  6. local reflectance = 0
  7. local size2 = Vector3.new(9,9,9)
  8. local color2 = BrickColor.new("Mulberry")
  9. local transparency2 = 0.5
  10. local reflectance2 = 0
  11. local material = "Cobblestone"
  12. local damage = 120
  13. local lifeperrage = 1.5 -- Multiplied by outrageamount to get move lifetime
  14.  
  15. local startcolor = Color3.new(1,0,0)
  16. local endcolor = Color3.new(0,0,1)
  17.  
  18. local lifetime = 7
  19.  
  20. -- SCRIPT
  21. function Use(...)
  22. local args = {...}
  23. local oldjumppower = args[1].Character.Humanoid.JumpPower
  24. local particles = Instance.new("ParticleEmitter", args[1].Character.Torso)
  25. local trail = Instance.new("Trail", workspace)
  26. particles.Enabled = false
  27. trail.Enabled = false
  28. local outrageamount = math.random(2,3)
  29. args[1].Character.Torso.Anchored = true
  30.  
  31. for i = 1,outrageamount do
  32. local p = Instance.new("Part")
  33. p.Parent = game.Workspace
  34. p.CanCollide = false
  35. p.Anchored = true
  36. p.Size = Vector3.new(8, 8, 8)
  37. p.BrickColor = BrickColor.new("Dark indigo")
  38. p.Reflectance = 0
  39. p.TopSurface = "Smooth"
  40. p.BottomSurface = "Smooth"
  41. p.Shape = "Block"
  42. p.CFrame = args[1].Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2, 0))
  43. local light = Instance.new("PointLight", p)
  44. light.Brightness = 1
  45. light.Color = Color3.new(1,1,1)
  46. light.Enabled = true
  47. light.Range = 1
  48. light.Shadows = false
  49. game:GetService("Debris"):AddItem(p, 10)
  50. local z = Instance.new("SpecialMesh")
  51. z.MeshType = "Brick"
  52. z.Scale = Vector3.new(0, 0, 0)
  53. z.Parent = p
  54. for i = 1 , 5 do
  55. z.Scale = z.Scale + Vector3.new(0.1,0.1,0.1)
  56. p.CFrame = args[1].Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2, 0))
  57. wait()
  58. end
  59.  
  60. for i = 1 , 5 do
  61. z.Scale = z.Scale - Vector3.new(0.1,0.1,0.1)
  62. p.CFrame = args[1].Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2, 0))
  63. wait()
  64. end
  65. p.Anchored = true
  66. p:remove()
  67. end
  68.  
  69. args[1].Character.Torso.Anchored = false
  70.  
  71. local part = Instance.new("Part")
  72. part.Parent = game.Workspace
  73. part.Shape = "Block"
  74. part.CanCollide = false
  75. part.BrickColor = color
  76. part.Size = size
  77. part.Transparency = transparency
  78. part.Material = material
  79. part.TopSurface = "Smooth"
  80. part.BottomSurface = "Smooth"
  81. part.CFrame = args[1].Character.Torso.CFrame
  82. part.Massless = true
  83.  
  84. local part2 = Instance.new("Part")
  85. part2.Parent = game.Workspace
  86. part2.Shape = "Block"
  87. part2.CanCollide = false
  88. part2.Material = material
  89. part2.BrickColor = color2
  90. part2.Size = size2
  91. part2.Transparency = transparency2
  92. part2.TopSurface = "Smooth"
  93. part2.BottomSurface = "Smooth"
  94. part2.Massless = true
  95.  
  96. local weld = Instance.new("Weld")
  97. weld.Part0 = args[1].Character.Torso
  98. weld.Part1 = part
  99. weld.Parent = part
  100. weld.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  101.  
  102. local weld = Instance.new("Weld")
  103. weld.Part0 = args[1].Character.Torso
  104. weld.Part1 = part2
  105. weld.Parent = part2
  106. weld.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  107.  
  108. local Stats = require(game:GetService("ServerScriptService"):WaitForChild("Stats"))
  109. args[1].Character.Humanoid.JumpPower = newjumppower
  110.  
  111. if game.Workspace ~= nil then
  112. if args[1].Character:FindFirstChild("BaseSpeed") and args[1].Character:FindFirstChild("BaseStat") and args[1].Character:FindFirstChild("Humanoid") then
  113. if Stats.GetStat(args[1], args[1].Character.BaseStat.Value) then
  114. args[1].Character.Humanoid.WalkSpeed = (args[1].Character.BaseSpeed.Value * 0.35 + Stats.GetStat(args[1], args[1].Character.BaseStat.Value) * args[1].Character.BaseSpeed.Value * 0.0035) * 3
  115. end
  116. spawn(function()
  117. for i = 0, outrageamount * lifeperrage * 10, 1 do
  118. if game.Workspace ~= nil and Stats.GetStat(args[1], args[1].Character.BaseStat.Value) then
  119. if args[1].Character:FindFirstChild("BaseSpeed") and args[1].Character:FindFirstChild("Humanoid") and args[1].Character:FindFirstChild("BaseStat") then
  120. args[1].Character.Humanoid.WalkSpeed = (args[1].Character.BaseSpeed.Value * 0.35 + Stats.GetStat(args[1], args[1].Character.BaseStat.Value) * args[1].Character.BaseSpeed.Value * 0.0035) * 3
  121. end
  122. end
  123. wait(0.1)
  124. end
  125. if game.Workspace ~= nil and Stats.GetStat(args[1], args[1].Character.BaseStat.Value) then
  126. if args[1].Character:FindFirstChild("BaseSpeed") and args[1].Character:FindFirstChild("Humanoid") and args[1].Character:FindFirstChild("BaseStat") then
  127. args[1].Character.Humanoid.WalkSpeed = args[1].Character.BaseSpeed.Value * 0.25 + Stats.GetStat(args[1], args[1].Character.BaseStat.Value) * args[1].Character.BaseSpeed.Value * 0.0025
  128. end
  129. end
  130. end)
  131. end
  132. end
  133. local debounce = true
  134. local DamageMod = require(game.ServerScriptService.Libraries.DamageService)
  135. DamageMod:RegisterWeaponPart(args[1], {part, part2}, damage)
  136. game:GetService("Debris"):AddItem(part, outrageamount * lifeperrage)
  137. game:GetService("Debris"):AddItem(part2, outrageamount * lifeperrage)
  138.  
  139. local explosion = Instance.new("Explosion", args[1].Character)
  140. explosion.DestroyJointRadiusPercent = 0
  141. explosion.BlastPressure = 0
  142. explosion.Position = args[1].Character.Torso.Position
  143.  
  144. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.8, 0.5), NumberSequenceKeypoint.new(1, 1)})
  145. particles.Lifetime = NumberRange.new(5,7)
  146. particles.Rate = 30
  147. particles.Speed = NumberRange.new(20)
  148. particles.SpreadAngle = Vector2.new(360, 360)
  149. particles.Color = ColorSequence.new(startcolor,endcolor)
  150. particles.Enabled = true
  151.  
  152. trail.Attachment0 = Instance.new("Attachment",args[1].Character.Humanoid.Torso)
  153. trail.Attachment0.Position = Vector3.new(-4,-2.8,0)
  154. trail.Attachment1 = Instance.new("Attachment",args[1].Character.Humanoid.Torso)
  155. trail.Attachment1.Position = Vector3.new(4,-2.8,0)
  156. trail.Color = ColorSequence.new(startcolor,endcolor)
  157. trail.Lifetime = 2.5
  158. trail.Enabled = true
  159. spawn(function()
  160. wait(outrageamount * lifeperrage)
  161. args[1].Character.Humanoid.JumpPower = oldjumppower
  162. trail.Enabled = false
  163. particles.Enabled = false
  164. for i = 1,math.random(1,3) do
  165. wait(math.random(1,6) * 0.5)
  166. args[1].Character.Humanoid.Sit = true
  167. wait(0.5)
  168. end
  169. end)
  170. end
  171.  
  172. return Use
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement