local B=Players.LocalPlayer local r=10 local z=10 local n=6 local t=.1 return function(B)local J=B.Effects local m=B.HumanoidRootPart for B=1,r,1 do spawn(function()local B=m.Position+Vector3.new(0,1,0)local r=script.Slice:Clone()r.CFrame=CFrame.new(B)*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360)))r.Size=Vector3.new(.3,1,1)r.Mesh.Scale=Vector3.new(1,0,0)r.Mesh.Offset=Vector3.new(0,0,n)r.Parent=J m.Velocity=r.CFrame.LookVector*50 local w=TweenInfo.new(t/2,Enum.EasingStyle.Quad,Enum.EasingDirection.In)local x=TweenInfo.new(t/2,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)local u=TweenService:Create(r.Mesh,w,{Scale=Vector3.new(1,1,z),Offset=Vector3.new()})u:Play()wait(t/2)local D=TweenService:Create(r.Mesh,w,{Scale=Vector3.new(1,0,0),Offset=Vector3.new(0,0,-n)})D:Play()wait(t/2)r:Destroy()end)wait(t/2)end end


local PLAYER	= Players.LocalPlayer

local NUM_SLASHES		= 10
local SLASH_SIZE		= 10
local SLASH_DISTANCE	= 6
local SLASH_TIME		= 0.1

return function(character)
	local effects	= character.Effects
	local rootPart	= character.HumanoidRootPart
	
	for i = 1, NUM_SLASHES do
		spawn(function()
			local center	= rootPart.Position + Vector3.new(0, 1, 0)
			
			local slice		= script.Slice:Clone()
				slice.CFrame	= CFrame.new(center) * CFrame.Angles(math.rad(math.random(360)), math.rad(math.random(360)), math.rad(math.random(360)))
				slice.Size		= Vector3.new(0.3, 1, 1)
				
				slice.Mesh.Scale	= Vector3.new(1, 0, 0)
				slice.Mesh.Offset	= Vector3.new(0, 0, SLASH_DISTANCE)
				
				slice.Parent	= effects
			
			rootPart.Velocity	= slice.CFrame.LookVector * 50
				
			local infoA	= TweenInfo.new(SLASH_TIME/2, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
			local infoB	= TweenInfo.new(SLASH_TIME/2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
			
			local tweenA	= TweenService:Create(slice.Mesh, infoA, {Scale = Vector3.new(1, 1, SLASH_SIZE); Offset = Vector3.new()})
			tweenA:Play()
			wait(SLASH_TIME/2)
			local tweenB	= TweenService:Create(slice.Mesh, infoA, {Scale = Vector3.new(1, 0, 0); Offset = Vector3.new(0, 0, -SLASH_DISTANCE)})
			tweenB:Play()
			wait(SLASH_TIME/2)
			slice:Destroy()
		end)
		
		wait(SLASH_TIME/2)
	end
end
