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