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