Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- SETTINGS
- local newjumppower = 0
- local size = Vector3.new(8,8,8)
- local color = BrickColor.new("Plum")
- local transparency = 0.1
- local reflectance = 0
- local size2 = Vector3.new(9,9,9)
- local color2 = BrickColor.new("Mulberry")
- local transparency2 = 0.5
- local reflectance2 = 0
- local material = "Cobblestone"
- local damage = 120
- local lifeperrage = 1.5 -- Multiplied by outrageamount to get move lifetime
- local startcolor = Color3.new(1,0,0)
- local endcolor = Color3.new(0,0,1)
- local lifetime = 7
- -- SCRIPT
- function Use(...)
- local args = {...}
- local oldjumppower = args[1].Character.Humanoid.JumpPower
- local particles = Instance.new("ParticleEmitter", args[1].Character.Torso)
- local trail = Instance.new("Trail", workspace)
- particles.Enabled = false
- trail.Enabled = false
- local outrageamount = math.random(2,3)
- args[1].Character.Torso.Anchored = true
- for i = 1,outrageamount do
- local p = Instance.new("Part")
- p.Parent = game.Workspace
- p.CanCollide = false
- p.Anchored = true
- p.Size = Vector3.new(8, 8, 8)
- p.BrickColor = BrickColor.new("Dark indigo")
- p.Reflectance = 0
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Shape = "Block"
- p.CFrame = args[1].Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2, 0))
- local light = Instance.new("PointLight", p)
- light.Brightness = 1
- light.Color = Color3.new(1,1,1)
- light.Enabled = true
- light.Range = 1
- light.Shadows = false
- game:GetService("Debris"):AddItem(p, 10)
- local z = Instance.new("SpecialMesh")
- z.MeshType = "Brick"
- z.Scale = Vector3.new(0, 0, 0)
- z.Parent = p
- for i = 1 , 5 do
- z.Scale = z.Scale + Vector3.new(0.1,0.1,0.1)
- p.CFrame = args[1].Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2, 0))
- wait()
- end
- for i = 1 , 5 do
- z.Scale = z.Scale - Vector3.new(0.1,0.1,0.1)
- p.CFrame = args[1].Character.Torso.CFrame * CFrame.new(Vector3.new(0, -2, 0))
- wait()
- end
- p.Anchored = true
- p:remove()
- end
- args[1].Character.Torso.Anchored = false
- local part = Instance.new("Part")
- part.Parent = game.Workspace
- part.Shape = "Block"
- part.CanCollide = false
- part.BrickColor = color
- part.Size = size
- part.Transparency = transparency
- part.Material = material
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.CFrame = args[1].Character.Torso.CFrame
- part.Massless = true
- local part2 = Instance.new("Part")
- part2.Parent = game.Workspace
- part2.Shape = "Block"
- part2.CanCollide = false
- part2.Material = material
- part2.BrickColor = color2
- part2.Size = size2
- part2.Transparency = transparency2
- part2.TopSurface = "Smooth"
- part2.BottomSurface = "Smooth"
- part2.Massless = true
- local weld = Instance.new("Weld")
- weld.Part0 = args[1].Character.Torso
- weld.Part1 = part
- weld.Parent = part
- weld.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local weld = Instance.new("Weld")
- weld.Part0 = args[1].Character.Torso
- weld.Part1 = part2
- weld.Parent = part2
- weld.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local Stats = require(game:GetService("ServerScriptService"):WaitForChild("Stats"))
- args[1].Character.Humanoid.JumpPower = newjumppower
- if game.Workspace ~= nil then
- if args[1].Character:FindFirstChild("BaseSpeed") and args[1].Character:FindFirstChild("BaseStat") and args[1].Character:FindFirstChild("Humanoid") then
- if Stats.GetStat(args[1], args[1].Character.BaseStat.Value) then
- 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
- end
- spawn(function()
- for i = 0, outrageamount * lifeperrage * 10, 1 do
- if game.Workspace ~= nil and Stats.GetStat(args[1], args[1].Character.BaseStat.Value) then
- if args[1].Character:FindFirstChild("BaseSpeed") and args[1].Character:FindFirstChild("Humanoid") and args[1].Character:FindFirstChild("BaseStat") then
- 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
- end
- end
- wait(0.1)
- end
- if game.Workspace ~= nil and Stats.GetStat(args[1], args[1].Character.BaseStat.Value) then
- if args[1].Character:FindFirstChild("BaseSpeed") and args[1].Character:FindFirstChild("Humanoid") and args[1].Character:FindFirstChild("BaseStat") then
- 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
- end
- end
- end)
- end
- end
- local debounce = true
- local DamageMod = require(game.ServerScriptService.Libraries.DamageService)
- DamageMod:RegisterWeaponPart(args[1], {part, part2}, damage)
- game:GetService("Debris"):AddItem(part, outrageamount * lifeperrage)
- game:GetService("Debris"):AddItem(part2, outrageamount * lifeperrage)
- local explosion = Instance.new("Explosion", args[1].Character)
- explosion.DestroyJointRadiusPercent = 0
- explosion.BlastPressure = 0
- explosion.Position = args[1].Character.Torso.Position
- particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.8, 0.5), NumberSequenceKeypoint.new(1, 1)})
- particles.Lifetime = NumberRange.new(5,7)
- particles.Rate = 30
- particles.Speed = NumberRange.new(20)
- particles.SpreadAngle = Vector2.new(360, 360)
- particles.Color = ColorSequence.new(startcolor,endcolor)
- particles.Enabled = true
- trail.Attachment0 = Instance.new("Attachment",args[1].Character.Humanoid.Torso)
- trail.Attachment0.Position = Vector3.new(-4,-2.8,0)
- trail.Attachment1 = Instance.new("Attachment",args[1].Character.Humanoid.Torso)
- trail.Attachment1.Position = Vector3.new(4,-2.8,0)
- trail.Color = ColorSequence.new(startcolor,endcolor)
- trail.Lifetime = 2.5
- trail.Enabled = true
- spawn(function()
- wait(outrageamount * lifeperrage)
- args[1].Character.Humanoid.JumpPower = oldjumppower
- trail.Enabled = false
- particles.Enabled = false
- for i = 1,math.random(1,3) do
- wait(math.random(1,6) * 0.5)
- args[1].Character.Humanoid.Sit = true
- wait(0.5)
- end
- end)
- end
- return Use
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement