script.Parent.OnServerEvent:Connect(function(T)local g=T.Character local b=g.Humanoid local R=g.HumanoidRootPart local G=b:LoadAnimation(script.anim)G:Play()local Y=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",R)Y.MaxForce=Vector3.new(1,1,1)*1000000 Y.Parent=R Y.Velocity=(Vector3.new(1,1,1)*(T.Character:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).CFrame.LookVector)*0 Y.Name="\083\109\097\108\108\077\111\118\101\086\101\108"game.Debris:AddItem(Y,10)wait(6)script.Parent.Parent.VoidStart:Play()DB.Parent=workspace.Effects DM.Parent=workspace.Effects DB.CFrame=R.CFrame*CFrame.new(0,0,0)R.CFrame=workspace["\068\111\109\097\105\110 \080\111\105\110\116"].CFrame*CFrame.new(0,0,0)DM.CFrame=workspace["\068\111\109\097\105\110 \080\111\105\110\116"].CFrame*CFrame.new(0,0,0)local a=workspace:GetPartBoundsInBox(DB.CFrame,Vector3.new(70,70,70))local C={}for b,R in pairs(a)do if R.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and R.Parent~=g then if not C[R.Parent.Humanoid]then C[R.Parent.Humanoid]=true local g=R.Parent.HumanoidRootPart g.CFrame=workspace["\068\111\109\097\105\110 \080\111\105\110\116"]["\068\111\109\097\105\110 \080\111\105\110\116\050"].CFrame*CFrame.new(0,0,0)local b=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",g)b.MaxForce=Vector3.new(1,1,1)*1000000 b.Parent=g b.Velocity=(Vector3.new(1,1,1)*(T.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,17)end end end wait(4)G:stop()wait(13)local v=workspace:GetPartBoundsInBox(DM.CFrame,Vector3.new(300,300,300))local K={}for T,b in pairs(v)do if b.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and b.Parent~=g then if not K[b.Parent.Humanoid]then K[b.Parent.Humanoid]=true local T=b.Parent.HumanoidRootPart T.CFrame=DB.CFrame*CFrame.new(0,0,0)end end end R.CFrame=DB.CFrame*CFrame.new(0,0,0)end)

script.Parent.OnServerEvent:Connect(function(p)
	local Character = p.Character
	local Humanoid = Character.Humanoid
	local RootPart = Character.HumanoidRootPart
	local anim = Humanoid:LoadAnimation(script["anim"])
	anim:Play()
	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,10)
	wait(6)
	script.Parent.Parent.VoidStart:Play()
	DB.Parent = workspace.Effects
	DM.Parent = workspace.Effects
	DB.CFrame = RootPart.CFrame * CFrame.new(0,0,0)
	RootPart.CFrame = workspace["Domain Point"].CFrame * CFrame.new(0,0,0)
	DM.CFrame = workspace["Domain Point"].CFrame * CFrame.new(0,0,0)
	local hitcontent = workspace:GetPartBoundsInBox(DB.CFrame, Vector3.new(70, 70, 70))
	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
				local RootPart2 = v.Parent.HumanoidRootPart
				RootPart2.CFrame = workspace["Domain Point"]["Domain Point2"].CFrame * CFrame.new(0,0,0)
				local velE = Instance.new("BodyVelocity", RootPart2)
				velE.MaxForce = Vector3.new(1,1,1) * 1000000;
				velE.Parent = RootPart2
				velE.Velocity = Vector3.new(1,1,1) * p.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector * 0
				velE.Name  =  "SmallMoveVel"
				game.Debris:AddItem(velE,17)
			end
		end
	end
	wait(4)
	anim:stop()
	wait(13)
	local hitcontent = workspace:GetPartBoundsInBox(DM.CFrame, Vector3.new(300, 300, 300))
	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
				local RootPart2 = v.Parent.HumanoidRootPart
				RootPart2.CFrame = DB.CFrame * CFrame.new(0,0,0)
			end
		end
	end
	RootPart.CFrame = DB.CFrame * CFrame.new(0,0,0)
end)
