script.Parent.OnServerEvent:Connect(function(r)local B=r.Character local p=B.Humanoid local y=B.HumanoidRootPart local h=p:LoadAnimation(script["\049"])local K=p:LoadAnimation(script["\050"])local k=Assets.Red:Clone()local I=Assets.RA.Attachment:Clone()local j=B["\082\105\103\104\116 \065\114\109"]I.Sound:Play()I.Voice:Play()I.Parent=j p.WalkSpeed=0 p.JumpPower=0 p.JumpHeight=0 local s=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",y)s.MaxForce=Vector3.new(1,1,1)*1000000 s.Parent=y s.Velocity=(Vector3.new(1,1,1)*(r.Character:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).CFrame.LookVector)*0 s.Name="\083\109\097\108\108\077\111\118\101\086\101\108"game.Debris:AddItem(s,1)k.Parent=workspace.Effects k.CFrame=y.CFrame*CFrame.new(0,2,-5)h:Play()wait(1.25)p.AutoRotate=false for r,B in pairs(I.Attachment.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 I.N.Enabled=true I.N2.Enabled=true I.N3.Enabled=true wait(.5)K:Play()I:Destroy()k.Parent=workspace.Effects k.CFrame=y.CFrame*CFrame.new(0,-3,-25)k.Sound:Play()for r,B in pairs(k.Red.Attachment: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 for r,B in pairs(k.Red.Attachment2: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 for r,B in pairs(k.Red.Explode: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 for r,B in pairs(k.Red.Parent: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 for r,B in pairs(k.Red.FX: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 for r,B in pairs(k.Red.FX2: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 local P=workspace:GetPartBoundsInBox(k.CFrame,Vector3.new(18,14.5,52))local Q={}for p,y in pairs(P)do if y.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and y.Parent~=B then if not Q[y.Parent.Humanoid]then Q[y.Parent.Humanoid]=true y.Parent.Humanoid:TakeDamage(Damage)local B=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",y.Parent.HumanoidRootPart)B.MaxForce=Vector3.new(1,1,1)*1000000 B.Parent=y.Parent.HumanoidRootPart B.Velocity=(Vector3.new(1,1,1)*(r.Character:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).CFrame.LookVector)*180 B.Name="\083\109\097\108\108\077\111\118\101\086\101\108"game.Debris:AddItem(B,.1)local p=Assets.HitFX.Attach:Clone()p.Parent=y.Parent.HumanoidRootPart for r,B in pairs(p: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 game.Debris:AddItem(p,3)end end end RockModule.RayCastEffect(y,10,6.5,-6.5,1,1)h:Stop()wait(1.5)p.AutoRotate=true p.WalkSpeed=16 p.JumpPower=50 p.JumpHeight=7.2 wait(3)k:Destroy()end)
--
script.Parent.OnServerEvent:Connect(function(p)
	local Character = p.Character
	local Humanoid = Character.Humanoid
	local RootPart = Character.HumanoidRootPart
	local anim1 = Humanoid:LoadAnimation(script["1"])
	local anim2 = Humanoid:LoadAnimation(script["2"])
	local FX = Assets["Red"]:Clone()
	local RArmFX = Assets.RA.Attachment:Clone()
	local RArm = Character["Right Arm"]
	RArmFX.Sound:Play()
	RArmFX.Voice:Play()
	RArmFX.Parent = RArm
	Humanoid.WalkSpeed = 0
	Humanoid.JumpPower = 0
	Humanoid.JumpHeight = 0
	local vel = Instance.new("BodyVelocity", RootPart)
	vel.MaxForce = Vector3.new(1, 1, 1) * 1000000
	vel.Parent = RootPart
	vel.Velocity = Vector3.new(1, 1, 1) * p.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector * 0
	vel.Name = "SmallMoveVel"
	game.Debris:AddItem(vel, 1)
	FX.Parent = workspace.Effects
	FX.CFrame = RootPart.CFrame * CFrame.new(0, 2, -5)
	anim1:Play()
	wait(1.25)
	Humanoid.AutoRotate = false
	for _, Particles in pairs(RArmFX.Attachment.Parent:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles.Enabled = false
		end
	end
	RArmFX.N.Enabled = true
	RArmFX.N2.Enabled = true
	RArmFX.N3.Enabled = true
	wait(0.5)
	anim2:Play()
	RArmFX:Destroy()
	FX.Parent = workspace.Effects
	FX.CFrame = RootPart.CFrame * CFrame.new(0, -3, -25)
	FX.Sound:Play()
	for _, Particles in pairs(FX.Red.Attachment:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles:Emit(Particles:GetAttribute("EmitCount"))
		end
	end
	for _, Particles in pairs(FX.Red.Attachment2:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles:Emit(Particles:GetAttribute("EmitCount"))
		end
	end
	for _, Particles in pairs(FX.Red.Explode:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles:Emit(Particles:GetAttribute("EmitCount"))
		end
	end
	for _, Particles in pairs(FX.Red.Parent:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles:Emit(Particles:GetAttribute("EmitCount"))
		end
	end
	for _, Particles in pairs(FX.Red.FX:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles:Emit(Particles:GetAttribute("EmitCount"))
		end
	end
	for _, Particles in pairs(FX.Red.FX2:GetDescendants()) do
		if Particles:IsA("ParticleEmitter") then
			Particles:Emit(Particles:GetAttribute("EmitCount"))
		end
	end
	local hitcontent = workspace:GetPartBoundsInBox(FX.CFrame, Vector3.new(18, 14.5, 52))
	local hitlist = {}
	for _, v in pairs(hitcontent) do
		if v.Parent:FindFirstChild("Humanoid") and v.Parent ~= Character then
			if not hitlist[v.Parent.Humanoid] then
				hitlist[v.Parent.Humanoid] = true
				v.Parent.Humanoid:TakeDamage(Damage)
				local vel = Instance.new("BodyVelocity", v.Parent.HumanoidRootPart)
				vel.MaxForce = Vector3.new(1, 1, 1) * 1000000
				vel.Parent = v.Parent.HumanoidRootPart
				vel.Velocity = Vector3.new(1, 1, 1)
					* p.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector
					* 180
				vel.Name = "SmallMoveVel"
				game.Debris:AddItem(vel, 0.1)
				local HitFX = Assets.HitFX.Attach:Clone()
				HitFX.Parent = v.Parent.HumanoidRootPart
				for _, Particles in pairs(HitFX:GetDescendants()) do
					if Particles:IsA("ParticleEmitter") then
						Particles:Emit(Particles:GetAttribute("EmitCount"))
					end
				end
				game.Debris:AddItem(HitFX, 3)
			end
		end
	end
	RockModule.RayCastEffect(RootPart, 10, 6.5, -6.5, 1, 1)
	anim1:Stop()
	wait(1.5)
	Humanoid.AutoRotate = true
	Humanoid.WalkSpeed = 16
	Humanoid.JumpPower = 50
	Humanoid.JumpHeight = 7.2
	wait(3)
	FX:Destroy()
end)
