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

script.Parent.OnServerEvent:Connect(function(p)
	local Character = p.Character
	local Humanoid = Character.Humanoid
	local RootPart = Character.HumanoidRootPart
	local Slash = RS.Effects.Part3:Clone()
	script.Attack:Play()
	Humanoid.WalkSpeed = 16
	Slash.Parent = FX
	Slash.CFrame = RootPart.CFrame * CFrame.new(0,0,-3)
	local BV = Instance.new("BodyVelocity",Slash)
	BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
	BV.Velocity = p.Character.HumanoidRootPart.CFrame.LookVector * 60
	Slash.Touched:Connect(function(hit)
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= p.Name then
			hit.Parent.Humanoid:TakeDamage(Damage)
			local HitEffect = Effects.Hit3.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)
			Slash:Destroy()
	end
	wait(1)
	Slash.Anchored = true
	for _,Particles in pairs(Slash.Part.Parent:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles.Enabled = false
		end
		end
		Slash.PointLight.Enabled = false
end)
end)
