i=true script.Parent[ZoneModelName]:MoveTo(Vector3.new(0,10000,0));(script.Parent[ZoneModelName]:Clone()).Parent=game.ServerStorage script.Parent.RemoteEvent.OnServerEvent:Connect(function(P,z,k,B)if i then i=false local P=(game.ServerStorage:WaitForChild(ZoneModelName)):Clone()P.Parent=game.Workspace P.PrimaryPart=P.Main P:SetPrimaryPartCFrame(CFrame.new(Vector3.new(z,k+.5,B)))P.Main.Touched:Connect(function(P)if P.Parent:FindFirstChild(MobHumanoidName)then P.Parent[MobHumanoidName].Health=P.Parent[MobHumanoidName].Health-Damage end end)wait(Cooldown)i=true end end)

i = true
script.Parent[ZoneModelName]:MoveTo(Vector3.new(0,10000,0))
script.Parent[ZoneModelName]:Clone().Parent = game.ServerStorage
script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr,X,Y,Z)
	if i then i = false
		local zone = game.ServerStorage:WaitForChild(ZoneModelName):Clone()
		zone.Parent = game.Workspace
		zone.PrimaryPart = zone.Main
		zone:SetPrimaryPartCFrame(CFrame.new(Vector3.new(X,Y+0.5,Z)))
		zone.Main.Touched:Connect(function(hit)
			if hit.Parent:FindFirstChild(MobHumanoidName) then
				hit.Parent[MobHumanoidName].Health = hit.Parent[MobHumanoidName].Health-Damage
			end
		end) 
		wait(Cooldown)
		i = true
	end
end)
