script.Parent.OnServerEvent:Connect(function(N)local u=N.Character local v=u.Humanoid local L=u.HumanoidRootPart local b=RS.Effects.Part1:Clone()local o=v:LoadAnimation(script.Animation)o:Play()v.WalkSpeed=10 script.Attack:Play()b.Parent=FX b.CFrame=L.CFrame*CFrame.new(0,0,-3)local R=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",b)R.MaxForce=Vector3.new(math.huge,math.huge,math.huge)R.Velocity=N.Character.HumanoidRootPart.CFrame.LookVector*60 b.Touched:Connect(function(u)if u.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and u.Parent.Name~=N.Name then u.Parent.Humanoid:TakeDamage(Damage)local v=Effects.Hit1.Attachment:Clone()local L=u.Parent.HumanoidRootPart v.Parent=L for N,u in pairs(v:GetDescendants())do if u:IsA("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")then u:Emit(u:GetAttribute("\069\109\105\116\067\111\117\110\116"))end end v.Hit:Play()local o=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",L)o.MaxForce=Vector3.new(1,1,1)*1000000 o.Parent=L o.Velocity=(Vector3.new(1,1,1)*(N.Character:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).CFrame.LookVector)*0 o.Name="\083\109\097\108\108\077\111\118\101\086\101\108"game.Debris:AddItem(o,1)b:Destroy()end wait(1)b.Anchored=true for N,u in pairs(b.Part.Parent:GetDescendants())do if u:IsA("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")then u.Enabled=false end end b.PointLight.Enabled=false end)end)

script.Parent.OnServerEvent:Connect(function(p)
	local Character = p.Character
	local Humanoid = Character.Humanoid
	local RootPart = Character.HumanoidRootPart
	local Slash1 = RS.Effects.Part1:Clone()
	local Anim = Humanoid:LoadAnimation(script.Animation)
	Anim:Play()
	Humanoid.WalkSpeed = 10
	script.Attack:Play()
	Slash1.Parent = FX
	Slash1.CFrame = RootPart.CFrame * CFrame.new(0,0,-3)
	local BV = Instance.new("BodyVelocity",Slash1)
	BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
	BV.Velocity = p.Character.HumanoidRootPart.CFrame.LookVector * 60
	Slash1.Touched:Connect(function(hit)
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= p.Name then
			hit.Parent.Humanoid:TakeDamage(Damage)
			local HitEffect = Effects.Hit1.Attachment:Clone()
			local RootPart2 = hit.Parent.HumanoidRootPart
			HitEffect.Parent = RootPart2
			for _,Particles in pairs(HitEffect:GetDescendants()) do
				if Particles:IsA("ParticleEmitter") then
					Particles:Emit(Particles:GetAttribute("EmitCount"))
				end
			end
			HitEffect.Hit:Play()
			local vel = Instance.new("BodyVelocity", RootPart2)
			vel.MaxForce = Vector3.new(1,1,1) * 1000000;
			vel.Parent = RootPart2
			vel.Velocity = Vector3.new(1,1,1) * p.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector * 0
			vel.Name  =  "SmallMoveVel"
			game.Debris:AddItem(vel,1)
			Slash1:Destroy()
	end
	wait(1)
	Slash1.Anchored = true
	for _,Particles in pairs(Slash1.Part.Parent:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles.Enabled = false
		end
		end
		Slash1.PointLight.Enabled = false
end)
end)
